Advertisement
Guest User

Untitled

a guest
Jan 19th, 2019
70
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.27 KB | None | 0 0
  1. #mysql
  2. check process mysql with pidfile /var/run/mariadb/mariadb.pd
  3. group database
  4. start program = "/usr/bin/systemctl start mariadb"
  5. stop program = "/usr/bin/systemctl stop mariadb"
  6. if failed host 127.0.0.1 port 3306 then restart
  7. if 5 restarts within 5 cycles then timeout
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement