[16:41] I am looking for something like a `restart on` stanza. Is there a way to do such a thing? [16:43] To be exact I have a server that is running my app and an upstart job, that run a unicorn server or reloads it, if it is already running. When the app is deployed, I emit an app-deployed upstart event. The thing, that is missing, is a way to restart the unicorn job, when this event is received. [16:44] I guess, I could make my job an instance job [16:49] cqql: You can create a second job that specifies something like "start on app-deployed\nexec { stop unicorn || true; } && start unicorn" [16:56] The problem is, that unicorn does some tricky live reloading stuff instead of actually restarting [16:57] But I will try this anyway [16:59] then why not just send that reload signal (or whatever it is using to do that)? [16:59] I am trying this now [17:00] So should I make my second job a task (in the upstart sense)? [17:02] cqql: if unicorn can reload itself without changing pid (ie re-exec's), specify "reload signal SIGNAL" in the unicorn job and have the helper job call "reload" rather than "stop+start". [17:02] cqql: yes, task would make sense