hotfix: set monit onlyoffice (re)start to config

This commit is contained in:
Moira 2024-06-19 20:58:37 +02:00
parent b314c296b2
commit cabc8706a3

View file

@ -46,8 +46,8 @@ in
services.monit.config = '' services.monit.config = ''
check host onlyoffice with address onlyoffice.infra4future.de check host onlyoffice with address onlyoffice.infra4future.de
start program "/run/current-system/sw/bin/lxc-start onlyoffice" start program "/run/current-system/sw/bin/lxc-start -n onlyoffice -f /persist/lxc/onlyoffice/config"
stop program "/run/current-system/sw/bin/lxc-stop onlyoffice" stop program "/run/current-system/sw/bin/lxc-stop -n onlyoffice"
if failed port 443 protocol https status = 302 if failed port 443 protocol https status = 302
then restart then restart