1
0
forked from ScoDoc/ScoDoc
ScoDoc-Front/tools/etc/scodoc-updater.timer

19 lines
378 B
SYSTEMD
Raw Normal View History

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