fix(systemd): Update ExecStart in systemd service template to use /opt/nupst/bin/nupst for daemon startup

This commit is contained in:
Philipp Kunz 2025-03-25 09:16:26 +00:00
parent 10da3e93c7
commit f5988dcd07
3 changed files with 8 additions and 2 deletions

View File

@ -1,5 +1,11 @@
# Changelog # 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) ## 2025-03-25 - 1.8.0 - feat(core)
Enhance SNMP module and interactive CLI setup for UPS shutdown Enhance SNMP module and interactive CLI setup for UPS shutdown

View File

@ -3,6 +3,6 @@
*/ */
export const commitinfo = { export const commitinfo = {
name: '@serve.zone/nupst', name: '@serve.zone/nupst',
version: '1.8.0', version: '1.8.1',
description: 'Node.js UPS Shutdown Tool for SNMP-enabled UPS devices' description: 'Node.js UPS Shutdown Tool for SNMP-enabled UPS devices'
} }

View File

@ -17,7 +17,7 @@ Description=Node.js UPS Shutdown Tool
After=network.target After=network.target
[Service] [Service]
ExecStart=/usr/bin/nupst daemon-start ExecStart=/opt/nupst/bin/nupst daemon-start
Restart=always Restart=always
User=root User=root
Group=root Group=root