diff --git a/bin/service/hyperion.init.sh b/bin/service/hyperion.init.sh index f296a458..5911557d 100644 --- a/bin/service/hyperion.init.sh +++ b/bin/service/hyperion.init.sh @@ -13,7 +13,7 @@ ### END INIT INFO DAEMON=hyperiond -DAEMONOPTS="/opt/hyperion/hyperion.config.json /etc/hyperion/hyperion.config.json" +DAEMONOPTS="/etc/hyperion/hyperion.config.json" DAEMON_PATH="/usr/bin" NAME=$DAEMON diff --git a/bin/service/hyperion.initctl.sh b/bin/service/hyperion.initctl.sh index 774e20b9..86ef5923 100644 --- a/bin/service/hyperion.initctl.sh +++ b/bin/service/hyperion.initctl.sh @@ -8,4 +8,4 @@ stop on (runlevel [!2345]) respawn -exec /usr/bin/hyperiond /opt/hyperion/hyperion.config.json /etc/hyperion/hyperion.config.json +exec /usr/bin/hyperiond /etc/hyperion/hyperion.config.json diff --git a/bin/service/hyperion.systemd.sh b/bin/service/hyperion.systemd.sh index 8fe2bc40..1ec4124c 100644 --- a/bin/service/hyperion.systemd.sh +++ b/bin/service/hyperion.systemd.sh @@ -6,7 +6,7 @@ Type=simple User=root Group=root UMask=007 -ExecStart=/usr/bin/hyperiond /opt/hyperion/hyperion.config.json /etc/hyperion/hyperion.config.json +ExecStart=/usr/bin/hyperiond /etc/hyperion/hyperion.config.json ExecReload=/bin/kill -HUP $MAINPID Restart=on-failure TimeoutStopSec=10