shell-things/etc/systemd/system/gitea-restart.timer
Mikaela Suomalainen 5704353d55
systemd: copy matterbridge restarter into gitea one
It used to stop working randomly without a good reason, but that is
likely fixed upstream a long time ago and while I removed it from cron,
these units exist so should the issue recur, I can throw these back in.

The cron wasn't randomized though, but I don't think there is harm in
this being a bit random.
2021-12-06 23:48:40 +02:00

12 lines
212 B
SYSTEMD

[Unit]
Description=Execute Gitea restarter daily between 05-06 Finnish time
[Timer]
OnCalendar=*-*-* 05:00:00 Europe/Helsinki
#OnBootSec=0
RandomizedDelaySec=1h
Persistent=true
[Install]
WantedBy=timers.target