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
|
|
|
EnvironmentFile=/etc/sysconfig/scylla-jmx
|
2015-09-01 21:32:54 +02:00
|
|
|
User=scylla
|
|
|
|
Group=scylla
|
2019-06-18 14:24:51 +02:00
|
|
|
ExecStart=/opt/scylladb/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
|