dist/ubuntu: Remove unneeded startup parameters

Fixes #19.

Signed-off-by: Pekka Enberg <penberg@scylladb.com>
This commit is contained in:
Pekka Enberg 2015-12-16 17:52:15 +02:00
parent e647abb17e
commit 7059795d7b
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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