Now you can run script on watchdog startup. File structure changed on *nix. Some changes in config file and scripts, please check on upgrade.

Now you can run script on watchdog startup. File structure changed on *nix. Some changes in config file and scripts, please check on upgrade.
This commit is contained in:
2022-10-29 16:57:57 +03:00
parent fa19c8327b
commit f1d16093b6
15 changed files with 362 additions and 216 deletions

View File

@@ -6,7 +6,7 @@ User=wwwrun
Group=www
Type=simple
ExecStart=/usr/local/sbin/cai-watchdog
#ExecStopPost=/usr/local/sbin/cai-watchdog-stopped
#ExecStopPost=/etc/cai-watchdog/on-stop
#ExecStopPost=send-telegram 'ATTENTION! Watchdog is stopped!'
KillMode=control-group