systemd: matterbridge.timer -> matterbridge-restart.{service,timer}

Resolves: #98
This commit is contained in:
Aminda Suomalainen 2021-11-22 09:56:56 +02:00
parent 9ba056cfd3
commit bd91ef704d
Signed by: Mikaela
GPG Key ID: DF046339D69EB8C9
2 changed files with 8 additions and 2 deletions

View File

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

View File

@ -1,9 +1,9 @@
[Unit]
Description=Restart Matterbridge daemon daily at 05 Finnish time
Description=Execute matterbridge restarter daily at 05 Finnish time
[Timer]
OnCalendar=*-*-* 05:00:00 Europe/Helsinki
OnBootSec=0
#OnBootSec=0
RandomizedDelaySec=1h
Persistent=true