mirror of
https://0xacab.org/sutty/sutty
synced 2024-11-22 04:46:22 +00:00
8 lines
355 B
Text
8 lines
355 B
Text
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" and gid "www-data"
|
|
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
|