Compare commits

...

2 Commits

Author SHA1 Message Date
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
8e69874534
matterbridge-restart.timer: fix language 2021-12-06 23:48:30 +02:00
3 changed files with 18 additions and 1 deletions

View File

@ -0,0 +1,6 @@
[Unit]
Description=Gitea restarter
[Service]
Type=oneshot
ExecStart=/bin/systemctl restart gitea.service --quiet

View File

@ -0,0 +1,11 @@
[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

View File

@ -1,5 +1,5 @@
[Unit]
Description=Execute matterbridge restarter daily at 05 Finnish time
Description=Execute Matterbridge restarter daily between 05-06 Finnish time
[Timer]
OnCalendar=*-*-* 05:00:00 Europe/Helsinki