scylla-jmx/dist/redhat/systemd/scylla-jmx.service

17 lines
349 B
Desktop File

[Unit]
Description=Scylla JMX
Requires=scylla-server.service
After=scylla-server.service
[Service]
Type=simple
EnvironmentFile=/etc/sysconfig/scylla-jmx
User=scylla
Group=scylla
ExecStart=/usr/lib/scylla/jmx/scylla-jmx -jp $JMX_PORT -p $API_PORT -a $ADDR -l /usr/lib/scylla/jmx
KillMode=process
Restart=always
[Install]
WantedBy=multi-user.target