containers-pocketbase/monit.conf

5 lines
236 B
Plaintext

check process pocketbase with pidfile /tmp/pocketbase.pid
start program = "/usr/local/bin/pocketbased start"
stop program = "/usr/local/bin/pocketbased stop"
if failed host localhost port 8080 3 times within 5 cycles then restart