[17:53] morning [18:00] so how do I make it so that respawn doesn't go into effect after a stop has been issued? [18:01] it should never do that AFAIK [18:02] danolj: maybe somehow it crashes? [18:03] http://pastebin.com/xu9P54ig [18:03] that's the upstart script for our redis instance [18:03] in the pre-stop script the CLI line tells the server to shutdown gracefully [18:03] in the redis logs it is indeed shutting down as expected, however, upstart/init simply starts things up again [18:05] exit status problem perhaps? [18:08] maybe, although I thought that doesn't matter in case you use 'stop' === Md_ is now known as Md [18:44] JanC: yes, that is what the docs say, but I've yet to figure out why it continues to restart after stop [18:46] okay, here is what is happening [18:46] by asking redis to shutdown gracefully, init sees that it has "died" and restarts it [18:47] so if I remove the 'cli shutdown' command, all is good, however, it sure would be nice to stop things gracefully [19:30] danolj: you can tell upstart what other exit statuses / signals are allowed to stop it? [20:29] JanC: not sure I understand what you're saying [20:31] danolj: I was referring to the "normal exit" stanza [20:31] okay, let me go read about it [21:01] JanC: thank you for that pointer, allowing 'TERM' as a valid exit status fixed the problem [21:02] er, not problem, rather provided a reasonable solution [21:02] Thank you