diff --git a/dist/common/sysconfig/scylla-jmx b/dist/common/sysconfig/scylla-jmx index 321c873..6f1f07d 100644 --- a/dist/common/sysconfig/scylla-jmx +++ b/dist/common/sysconfig/scylla-jmx @@ -1,12 +1,3 @@ -# The jmx port to open -JMX_PORT=7199 - -# The API port to connect to -API_PORT=10000 - -# The API address to connect to -ADDR=127.0.0.1 - # scylla home dir SCYLLA_HOME=/var/lib/scylla diff --git a/dist/redhat/systemd/scylla-jmx.service b/dist/redhat/systemd/scylla-jmx.service index 3b7a496..11f8d2a 100644 --- a/dist/redhat/systemd/scylla-jmx.service +++ b/dist/redhat/systemd/scylla-jmx.service @@ -8,7 +8,7 @@ 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 +ExecStart=/usr/lib/scylla/jmx/scylla-jmx -l /usr/lib/scylla/jmx KillMode=process Restart=always