✏️ 正在编辑: db_governor.service
路径:
/lib/systemd/system/db_governor.service
提示:
您可以编辑任何文件(包括二进制文件),但请注意不当修改可能导致文件损坏。
[Unit] Description=MySQL watcher service Wants=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
💾 保存文件
← 返回文件管理器