From 32b60ef3da64859706f34e68f38f8a8b2e709299 Mon Sep 17 00:00:00 2001 From: Daniele Fucini Date: Wed, 7 Oct 2026 19:45:47 +0200 Subject: [PATCH] Clean up systemd units Use Type=oneshot for the service and drop the default Restart=no. Remove Persistent=true from the timer, which only applies to OnCalendar= timers. --- update-notify.service | 3 +-- update-notify.timer | 1 - 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/update-notify.service b/update-notify.service index 44a9019..dfa0bca 100644 --- a/update-notify.service +++ b/update-notify.service @@ -3,5 +3,4 @@ Description=Notify if updates are available [Service] ExecStart=/usr/bin/update-notify 30 -Type=simple -Restart=no +Type=oneshot diff --git a/update-notify.timer b/update-notify.timer index 43b8989..2daafde 100644 --- a/update-notify.timer +++ b/update-notify.timer @@ -4,7 +4,6 @@ Description=Run update-notify every 6 hours [Timer] OnBootSec=5min OnUnitActiveSec=6h -Persistent=true [Install] WantedBy=timers.target