mitigated restarting by having timer launch another service that just restarts the actual service

This commit is contained in:
jenz
2023-01-11 13:00:47 +01:00
parent de26140978
commit 0b300cf5f4
4 changed files with 25 additions and 12 deletions
+9
View File
@@ -0,0 +1,9 @@
[Unit]
Description=Restarts the systemctl service for ze server every odd night in month at 5:30
Requires=css_ze_restart.service
[Timer]
OnCalendar=*-*-1,3,5,7,9,11,13,15,17,19,21,23,25,27,29,31 05:30:00
[Install]
WantedBy=multi-user.target