diff --git a/install.sh b/install.sh index bae587c..16289fe 100755 --- a/install.sh +++ b/install.sh @@ -133,7 +133,7 @@ else cat << EOS > "$rsystemd"/scylla-jmx.service.d/nonroot.conf [Service] EnvironmentFile= -EnvironmentFile=$retc/sysconfig/scylla-jmx +EnvironmentFile=$(realpath -m "$rsysconfdir/scylla-jmx") ExecStart= ExecStart=$rprefix/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 User=