containers-postsrsd/monit.conf

7 lines
261 B
Plaintext

check process postsrsd with pidfile /run/postsrsd/postsrsd.pid
start program = "/usr/local/bin/postsrsd start"
stop program = "/usr/local/bin/postsrsd stop"
if failed port 10001 for 3 cycles then restart
if failed port 10002 for 3 cycles then restart