diff --git a/dist/ubuntu/debian/scylla-jmx.init b/dist/ubuntu/debian/scylla-jmx.init index 62e144d..733c01e 100644 --- a/dist/ubuntu/debian/scylla-jmx.init +++ b/dist/ubuntu/debian/scylla-jmx.init @@ -30,7 +30,7 @@ SCRIPTNAME=/etc/init.d/$NAME # Read configuration variable file if it is present [ -r /etc/default/$NAME ] && . /etc/default/$NAME export SCYLLA_HOME SCYLLA_CONF -DAEMON=/usr/lib/scylla/jmx/scylla-jmx -jp $JMX_PORT -p $API_PORT -a $ADDR -l /usr/lib/scylla/jmx +DAEMON=/usr/lib/scylla/jmx/scylla-jmx -l /usr/lib/scylla/jmx # Define LSB log_* functions. . /lib/lsb/init-functions diff --git a/dist/ubuntu/debian/scylla-jmx.upstart b/dist/ubuntu/debian/scylla-jmx.upstart index 6546851..9097c31 100644 --- a/dist/ubuntu/debian/scylla-jmx.upstart +++ b/dist/ubuntu/debian/scylla-jmx.upstart @@ -14,5 +14,5 @@ console log script . /etc/default/scylla-jmx export SCYLLA_HOME SCYLLA_CONF - exec /usr/lib/scylla/jmx/scylla-jmx -jp $JMX_PORT -p $API_PORT -a $ADDR -l /usr/lib/scylla/jmx + exec /usr/lib/scylla/jmx/scylla-jmx -l /usr/lib/scylla/jmx end script