dist: stop scylla-jmx when scylla-server stopped, don't respawn
Signed-off-by: Takuya ASADA <syuu@scylladb.com> Signed-off-by: Pekka Enberg <penberg@scylladb.com>
This commit is contained in:
parent
167f86f6d7
commit
36ed2cf225
10
debian/scylla-jmx.upstart
vendored
10
debian/scylla-jmx.upstart
vendored
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user