Monkey Albino

Linux altar53.supremepanel53.com 4.18.0-553.8.1.lve.el8.x86_64 #1 SMP Thu Jul 4 16:24:39 UTC 2024 x86_64
/ usr/ lib/ systemd/ system/

//usr/lib/systemd/system/db_governor.service

[Unit]
Description=MySQL watcher service
Requires=governor_sentry_daemon.service
After=governor_sentry_daemon.service 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