2015-09-01 21:32:54 +02:00
|
|
|
[Unit]
|
|
|
|
Description=Scylla JMX
|
|
|
|
Requires=scylla-server.service
|
|
|
|
After=scylla-server.service
|
|
|
|
|
|
|
|
[Service]
|
|
|
|
Type=simple
|
2015-09-16 16:17:37 +02:00
|
|
|
EnvironmentFile=/etc/sysconfig/scylla-jmx
|
2015-09-01 21:32:54 +02:00
|
|
|
User=scylla
|
|
|
|
Group=scylla
|
2015-12-01 15:27:22 +01:00
|
|
|
ExecStart=/usr/lib/scylla/jmx/scylla-jmx -jp $JMX_PORT -p $API_PORT -a $ADDR -l /usr/lib/scylla/jmx
|
2015-09-01 21:32:54 +02:00
|
|
|
KillMode=process
|
|
|
|
Restart=always
|
|
|
|
|
|
|
|
[Install]
|
|
|
|
WantedBy=multi-user.target
|