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
c596a9e462
commit
2e11cb5471
10
debian/scylla-jmx.upstart
vendored
10
debian/scylla-jmx.upstart
vendored
@ -4,19 +4,15 @@
|
|||||||
|
|
||||||
description "ScyllaDB jmx"
|
description "ScyllaDB jmx"
|
||||||
|
|
||||||
start on starting scylla-server
|
start on started scylla-server
|
||||||
stop on runlevel [!2345]
|
stop on stopping scylla-server
|
||||||
|
|
||||||
respawn
|
|
||||||
respawn limit 10 5
|
|
||||||
umask 022
|
umask 022
|
||||||
|
|
||||||
expect fork
|
|
||||||
|
|
||||||
console log
|
console log
|
||||||
|
|
||||||
script
|
script
|
||||||
. /etc/default/scylla-jmx
|
. /etc/default/scylla-jmx
|
||||||
export JMX_LOCAL_PORT
|
export JMX_LOCAL_PORT
|
||||||
/usr/lib/scylla/jmx/jmx_run
|
exec /usr/lib/scylla/jmx/jmx_run
|
||||||
end script
|
end script
|
||||||
|
Loading…
Reference in New Issue
Block a user