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.
This commit is contained in:
Daniele Fucini
2026-10-07 19:45:47 +02:00
parent 5b877e76df
commit 32b60ef3da
2 changed files with 1 additions and 3 deletions
+1 -2
View File
@@ -3,5 +3,4 @@ Description=Notify if updates are available
[Service]
ExecStart=/usr/bin/update-notify 30
Type=simple
Restart=no
Type=oneshot
-1
View File
@@ -4,7 +4,6 @@ Description=Run update-notify every 6 hours
[Timer]
OnBootSec=5min
OnUnitActiveSec=6h
Persistent=true
[Install]
WantedBy=timers.target