scylla-jmx.service.in: Depend on scylla-server
The correct dependency between the jmx and the scylla-server is: The scylla-jmx should not run if the scylla-server is not running, it should shutdown when the scylla-server shuts down. Starting the scylla-jmx should not start the scylla-server, instead, if the scylla-server is not running it should fail to start. This patch changes the setup to do so. Signed-off-by: Amnon Heiman <amnon@scylladb.com> Message-Id: <1467184319-3395-1-git-send-email-amnon@scylladb.com>
This commit is contained in:
parent
36ae2fcfd7
commit
4672cd360f
3
dist/common/systemd/scylla-jmx.service.in
vendored
3
dist/common/systemd/scylla-jmx.service.in
vendored
@ -1,7 +1,8 @@
|
||||
[Unit]
|
||||
Description=Scylla JMX
|
||||
Requires=scylla-server.service
|
||||
Requisite=scylla-server.service
|
||||
After=scylla-server.service
|
||||
BindsTo=scylla-server.service
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
|
Loading…
Reference in New Issue
Block a user