systemd: matterbridge.timer -> matterbridge-restart.{service,timer}
Resolves: #98
This commit is contained in:
parent
9ba056cfd3
commit
bd91ef704d
|
@ -0,0 +1,6 @@
|
||||||
|
[Unit]
|
||||||
|
Description=Matterbridge restarter
|
||||||
|
|
||||||
|
[Service]
|
||||||
|
Type=oneshot
|
||||||
|
ExecStart=/bin/systemctl restart matterbridge.service --quiet
|
|
@ -1,9 +1,9 @@
|
||||||
[Unit]
|
[Unit]
|
||||||
Description=Restart Matterbridge daemon daily at 05 Finnish time
|
Description=Execute matterbridge restarter daily at 05 Finnish time
|
||||||
|
|
||||||
[Timer]
|
[Timer]
|
||||||
OnCalendar=*-*-* 05:00:00 Europe/Helsinki
|
OnCalendar=*-*-* 05:00:00 Europe/Helsinki
|
||||||
OnBootSec=0
|
#OnBootSec=0
|
||||||
RandomizedDelaySec=1h
|
RandomizedDelaySec=1h
|
||||||
Persistent=true
|
Persistent=true
|
||||||
|
|
Loading…
Reference in New Issue