sutty/monit.conf

4 lines
233 B
Plaintext
Raw Normal View History

2019-07-26 23:57:11 +00:00
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
2019-04-08 18:31:29 +00:00
stop program = "/bin/sh -c 'cat /srv/http/tmp/puma.pid | xargs kill'"