Why is this upstart script not stopping my process?

Published: 15/01/2019
Why is this upstart script not stopping my process?
Source: SERVERFAULT.COM

I am trying to write an upstart script that checks if my process is running by pinging it's HTTP interface. So far, I just can't get the post-start clause to work. Here's a simplified version that I've tried: description "my application" start on runlevel [2345] stop on runlevel [!2345] respawn respawn limit 360 180 setuid myuser setgid mygroup chdir /my/directory exec /bin/sleep 60 post-sta

Read more
Related news
Comment
FACEBOOK