scylla-jmx/debian/scylla-jmx.upstart
Takuya ASADA 2e11cb5471 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>
2015-10-30 15:40:02 +02:00

19 lines
264 B
Plaintext

# scylla-jmx - ScyllaDB
#
# ScyllaDB
description "ScyllaDB jmx"
start on started scylla-server
stop on stopping scylla-server
umask 022
console log
script
. /etc/default/scylla-jmx
export JMX_LOCAL_PORT
exec /usr/lib/scylla/jmx/jmx_run
end script