2015-09-01 21:32:54 +02:00
|
|
|
[Unit]
|
|
|
|
Description=Scylla JMX
|
2016-10-31 13:02:22 +01:00
|
|
|
Requires=scylla-server.service
|
2015-09-01 21:32:54 +02:00
|
|
|
After=scylla-server.service
|
|
|
|
|
|
|
|
[Service]
|
|
|
|
Type=simple
|
2018-06-06 20:31:13 +02:00
|
|
|
{{#debian}}
|
|
|
|
EnvironmentFile=/etc/default/scylla-jmx
|
|
|
|
{{/debian}}
|
|
|
|
{{#redhat}}
|
|
|
|
EnvironmentFile=/etc/sysconfig/scylla-jmx
|
|
|
|
{{/redhat}}
|
2015-09-01 21:32:54 +02:00
|
|
|
User=scylla
|
|
|
|
Group=scylla
|
2017-11-12 14:52:03 +01:00
|
|
|
ExecStart=/usr/lib/scylla/jmx/scylla-jmx $SCYLLA_JMX_PORT $SCYLLA_API_PORT $SCYLLA_API_ADDR $SCYLLA_JMX_ADDR $SCYLLA_JMX_FILE $SCYLLA_JMX_LOCAL $SCYLLA_JMX_REMOTE $SCYLLA_JMX_DEBUG
|
2015-09-01 21:32:54 +02:00
|
|
|
KillMode=process
|
2016-01-06 17:29:46 +01:00
|
|
|
Restart=on-abnormal
|
2015-09-01 21:32:54 +02:00
|
|
|
|
|
|
|
[Install]
|
|
|
|
WantedBy=multi-user.target
|