shell-things/etc/systemd/system/linuxbrew-update.timer
Aminda Suomalainen 3c52ef8fd5
systemd: turn brew-update-user to a system service
the user service would require the specific user to login or linger
2025-07-24 11:01:15 +03:00

16 lines
312 B
SYSTEMD

[Unit]
Description=Install homebrew updates regularly
[Timer]
#OnCalendar=*-*-* 19:00:00
# Executed every 4 hours
OnUnitActiveSec=4h
# Executed 5 minutes from boot
OnBootSec=300
# Delay execution by something between 0 seconds and 3 hours
RandomizedDelaySec=3h
Persistent=true
[Install]
WantedBy=timers.target