fix hamclock service

This commit is contained in:
David Young
2026-06-06 05:52:19 -06:00
parent fbb4803576
commit 13f9a4cb39
3 changed files with 14 additions and 9 deletions

View File

@@ -15,7 +15,7 @@ HAMCLOCK_DATA_FILES=(
)
echo "Stopping hamclock service..."
systemctl --user stop hamclock 2>/dev/null || true
sudo systemctl stop hamclock 2>/dev/null || true
mkdir -p "$NEW_DIR"
@@ -27,7 +27,7 @@ for f in "${HAMCLOCK_DATA_FILES[@]}"; do
done
echo "Reloading hamclock service..."
systemctl --user daemon-reload
systemctl --user restart hamclock
sudo systemctl daemon-reload
sudo systemctl restart hamclock
echo "hamclock cleanup done."