5
0
Fork 0
mirror of https://0xacab.org/sutty/sutty synced 2024-06-03 03:54:16 +00:00
panel/monit.conf
2019-07-29 15:15:23 -03:00

8 lines
330 B
Plaintext

check process sutty with pidfile /srv/http/tmp/puma.pid
start program = "/bin/sh -c 'cd /srv/http && foreman start migrate && foreman start sutty'" as uid app
stop program = "/bin/sh -c 'cat /srv/http/tmp/puma.pid | xargs kill'"
check program sync_assets
with path /usr/local/bin/sync_assets
if status = 0 then unmonitor