2020-09-26 16:19:37 +02:00
|
|
|
#
|
|
|
|
# Systemd service to upgrade ScoDoc
|
|
|
|
#
|
|
|
|
# Put this file in /etc/systemd/system, along with scodoc-updater.service
|
|
|
|
#
|
|
|
|
# E. Viennet jun 2019
|
|
|
|
#
|
|
|
|
|
|
|
|
[Unit]
|
2021-12-04 21:18:00 +01:00
|
|
|
Description=Upgrade ScoDoc and Linux each night (2:30 am + random delay)
|
2020-09-26 16:19:37 +02:00
|
|
|
|
|
|
|
[Timer]
|
2021-12-04 21:18:00 +01:00
|
|
|
OnCalendar=*-*-* 02:30:00
|
2020-09-26 16:19:37 +02:00
|
|
|
# Add random delay, to avoid overloading ScoDoc upgrade server
|
2021-12-04 21:18:00 +01:00
|
|
|
RandomizedDelaySec=40min
|
2020-09-26 16:19:37 +02:00
|
|
|
|
|
|
|
[Install]
|
|
|
|
WantedBy=timers.target
|