Skip to content

Commit e4f3ef6

Browse files
committed
fix: rename service to eneru.service to avoid conflict with nut-client - p2
1 parent 2baad6a commit e4f3ef6

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

packaging/scripts/postinstall.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ fi
3838
if [ "$is_upgrade" = true ]; then
3939
# UPGRADE: Restart service if it was running, otherwise leave it alone
4040
if [ "$was_running" = true ]; then
41-
echo "Restarting ups-monitor service..."
41+
echo "Restarting Eneru service..."
4242
systemctl restart eneru.service
4343
fi
4444
# Silent upgrade - no instructions needed

packaging/scripts/preremove.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,12 +25,12 @@ fi
2525
if [ "$is_removal" = true ]; then
2626
# ACTUAL REMOVAL: Stop and disable the service
2727
if systemctl is-active --quiet eneru.service 2>/dev/null; then
28-
echo "Stopping ups-monitor service..."
28+
echo "Stopping Eneru service..."
2929
systemctl stop eneru.service
3030
fi
3131

3232
if systemctl is-enabled --quiet eneru.service 2>/dev/null; then
33-
echo "Disabling ups-monitor service..."
33+
echo "Disabling Eneru service..."
3434
systemctl disable eneru.service
3535
fi
3636
fi

0 commit comments

Comments
 (0)