From 36ed2cf225d0227ea453eee8caf39577950ac2dc Mon Sep 17 00:00:00 2001 From: Takuya ASADA Date: Fri, 30 Oct 2015 01:13:35 +0900 Subject: [PATCH] dist: stop scylla-jmx when scylla-server stopped, don't respawn Signed-off-by: Takuya ASADA Signed-off-by: Pekka Enberg --- debian/scylla-jmx.upstart | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/debian/scylla-jmx.upstart b/debian/scylla-jmx.upstart index be227e9..929c468 100644 --- a/debian/scylla-jmx.upstart +++ b/debian/scylla-jmx.upstart @@ -4,19 +4,15 @@ description "ScyllaDB jmx" -start on starting scylla-server -stop on runlevel [!2345] +start on started scylla-server +stop on stopping scylla-server -respawn -respawn limit 10 5 umask 022 -expect fork - console log script . /etc/default/scylla-jmx export JMX_LOCAL_PORT - /usr/lib/scylla/jmx/jmx_run + exec /usr/lib/scylla/jmx/jmx_run end script