diff --git a/install-systemd.sh b/install-systemd.sh index 32e3cda..3966e05 100755 --- a/install-systemd.sh +++ b/install-systemd.sh @@ -64,9 +64,10 @@ EOF chown root:root "${ENV_FILE}" fi -echo "[7/7] Reload and enable service ..." +echo "[7/7] Reload, enable and restart service ..." systemctl daemon-reload -systemctl enable --now "${SERVICE_NAME}.service" +systemctl enable "${SERVICE_NAME}.service" +systemctl restart "${SERVICE_NAME}.service" echo "[status] Service status ..." systemctl --no-pager --full status "${SERVICE_NAME}.service" || true