mirror of
https://gitea.blesmrt.net/mikaela/shell-things.git
synced 2025-01-06 02:02:51 +01:00
Compare commits
2 Commits
8209a74c6b
...
5704353d55
Author | SHA1 | Date | |
---|---|---|---|
5704353d55 | |||
8e69874534 |
6
etc/systemd/system/gitea-restart.service
Normal file
6
etc/systemd/system/gitea-restart.service
Normal file
@ -0,0 +1,6 @@
|
||||
[Unit]
|
||||
Description=Gitea restarter
|
||||
|
||||
[Service]
|
||||
Type=oneshot
|
||||
ExecStart=/bin/systemctl restart gitea.service --quiet
|
11
etc/systemd/system/gitea-restart.timer
Normal file
11
etc/systemd/system/gitea-restart.timer
Normal 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
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user