5
0
Fork 0
mirror of https://0xacab.org/sutty/sutty synced 2024-11-14 22:51:41 +00:00
panel/monit.conf

8 lines
357 B
Text
Raw Normal View History

2019-04-08 18:31:29 +00:00
check process rails with pidfile /srv/http/tmp/puma.pid
start program = "/usr/bin/entrypoint rails" as uid app
stop program = "/bin/sh -c 'cat /srv/http/tmp/puma.pid | xargs kill'"
check process static with pidfile /tmp/darkhttpd.pid
start program = "/usr/bin/entrypoint darkhttpd"
stop program = "/bin/sh -c 'cat /tmp/darkhttpd.pid | xargs kill'"