|
Server : Apache System : Linux cvar2.toservers.com 3.10.0-962.3.2.lve1.5.73.el7.x86_64 #1 SMP Wed Aug 24 21:31:23 UTC 2022 x86_64 User : njnconst ( 1116) PHP Version : 8.4.18 Disable Function : NONE Directory : /usr/lib/systemd/system/ |
Upload File : |
[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