forked from ScoDoc/DocScoDoc
19 lines
378 B
SYSTEMD
19 lines
378 B
SYSTEMD
#
|
|
# Systemd service to upgrade ScoDoc
|
|
#
|
|
# Put this file in /etc/systemd/system, along with scodoc-updater.service
|
|
#
|
|
# E. Viennet jun 2019
|
|
#
|
|
|
|
[Unit]
|
|
Description=Upgrade ScoDoc and Linux each night (2:30 am + random delay)
|
|
|
|
[Timer]
|
|
OnCalendar=*-*-* 02:30:00
|
|
# Add random delay, to avoid overloading ScoDoc upgrade server
|
|
RandomizedDelaySec=40min
|
|
|
|
[Install]
|
|
WantedBy=timers.target
|