From 7c34fb8ce0735bb309ee9701770513df9ec93166 Mon Sep 17 00:00:00 2001 From: Pekka Enberg Date: Wed, 16 Dec 2015 17:52:15 +0200 Subject: [PATCH] dist/ubuntu: Remove unneeded startup parameters Fixes #19. Signed-off-by: Pekka Enberg --- dist/ubuntu/debian/scylla-jmx.init | 2 +- dist/ubuntu/debian/scylla-jmx.upstart | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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