Files
server/opt/psa/var/modules/watchdog/etc/service.d/mysql
2026-01-07 20:52:11 +01:00

15 lines
575 B
Plaintext
Executable File

#ATTENTION!
#
#DO NOT MODIFY THIS FILE BECAUSE IT WAS GENERATED AUTOMATICALLY,
#SO ALL YOUR CHANGES WILL BE LOST THE NEXT TIME THE FILE IS GENERATED.
### Copyright 1999-2026. WebPros International GmbH. All rights reserved.
# Local MySQL
check process mysql
with pidfile "/run/mysqld/mysqld.pid"
start = "/opt/psa/admin/sbin/pleskrc mysql start"
stop = "/opt/psa/admin/sbin/pleskrc mysql stop"
if failed unixsocket "/run/mysqld/mysqld.sock" with timeout 5 seconds then restart
if 5 restarts within 5 cycles then timeout
every 1 cycles
mode manual