5
0
Fork 0
mirror of https://0xacab.org/sutty/sutty synced 2024-07-01 04:36:06 +00:00
panel/monit.conf

8 lines
356 B
Plaintext
Raw Normal View History

2019-07-26 23:57:11 +00:00
check process sutty with pidfile /srv/http/tmp/puma.pid
2019-09-24 17:56:04 +00:00
start program = "/bin/sh -c 'cd /srv/http && ./bin/migrate_database && foreman start migrate && foreman start sutty'" as uid app
2019-04-08 18:31:29 +00:00
stop program = "/bin/sh -c 'cat /srv/http/tmp/puma.pid | xargs kill'"
2019-07-29 18:15:23 +00:00
check program sync_assets
with path /usr/local/bin/sync_assets
if status = 0 then unmonitor