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:
@@ -4,7 +4,6 @@ Description=Run update-notify every 6 hours
|
||||
[Timer]
|
||||
OnBootSec=5min
|
||||
OnUnitActiveSec=6h
|
||||
Persistent=true
|
||||
|
||||
[Install]
|
||||
WantedBy=timers.target
|
||||
|
||||
Reference in New Issue
Block a user