HEX
Server: Apache
System: Linux insrv.serversdaddy.com 5.14.0-362.24.2.el9_3.x86_64 #1 SMP PREEMPT_DYNAMIC Sat Mar 30 14:11:54 EDT 2024 x86_64
User: jsaha (1066)
PHP: 8.3.6
Disabled: exec,passthru,shell_exec,system
Upload Files
File: //lib/systemd/system/db_governor.service
[Unit]
Description=MySQL watcher service
After=syslog.target network.target mysql.service mysqld.service mariadb.service

[Service]
Environment="G_SLICE=always-malloc" "HOME=/root"
Type=notify
WatchdogSec=240s
PIDFile=/var/run/db-governor.pid
Restart=on-failure
RestartSec=3
TimeoutSec=10s

ExecStart=/usr/sbin/db_governor
ExecStopPost=/bin/sh -c "if pgrep db_governor 1>/dev/null; then pkill -SIGTERM db_governor 2>/dev/null; fi"

[Install]
WantedBy=multi-user.target