From f5988dcd07407ef81b739afdb57cf08c89f7dd37 Mon Sep 17 00:00:00 2001 From: Philipp Kunz Date: Tue, 25 Mar 2025 09:16:26 +0000 Subject: [PATCH] fix(systemd): Update ExecStart in systemd service template to use /opt/nupst/bin/nupst for daemon startup --- changelog.md | 6 ++++++ ts/00_commitinfo_data.ts | 2 +- ts/systemd.ts | 2 +- 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/changelog.md b/changelog.md index 032a40b..28dcf9f 100644 --- a/changelog.md +++ b/changelog.md @@ -1,5 +1,11 @@ # Changelog +## 2025-03-25 - 1.8.1 - fix(systemd) +Update ExecStart in systemd service template to use /opt/nupst/bin/nupst for daemon startup + +- Changed ExecStart from '/usr/bin/nupst daemon-start' to '/opt/nupst/bin/nupst daemon-start' in the systemd service file +- Ensures the service uses the correct binary installation path + ## 2025-03-25 - 1.8.0 - feat(core) Enhance SNMP module and interactive CLI setup for UPS shutdown diff --git a/ts/00_commitinfo_data.ts b/ts/00_commitinfo_data.ts index db929f2..f419379 100644 --- a/ts/00_commitinfo_data.ts +++ b/ts/00_commitinfo_data.ts @@ -3,6 +3,6 @@ */ export const commitinfo = { name: '@serve.zone/nupst', - version: '1.8.0', + version: '1.8.1', description: 'Node.js UPS Shutdown Tool for SNMP-enabled UPS devices' } diff --git a/ts/systemd.ts b/ts/systemd.ts index ea8310e..9820e3f 100644 --- a/ts/systemd.ts +++ b/ts/systemd.ts @@ -17,7 +17,7 @@ Description=Node.js UPS Shutdown Tool After=network.target [Service] -ExecStart=/usr/bin/nupst daemon-start +ExecStart=/opt/nupst/bin/nupst daemon-start Restart=always User=root Group=root