Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #mysql
- check process mysql with pidfile /var/run/mariadb/mariadb.pd
- group database
- start program = "/usr/bin/systemctl start mariadb"
- stop program = "/usr/bin/systemctl stop mariadb"
- if failed host 127.0.0.1 port 3306 then restart
- if 5 restarts within 5 cycles then timeout
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement