=== marco-traveling is now known as marcoceppi === gena_ is now known as gena2x [13:45] My job stops during pre-stop script and can't handle signal anymore. Is it possible to tell the upstart that job is already stopped and there is no need to send a signal? [13:47] Better to say - 'any way to handle this situation without errors'. I.e. tell upstart that it doesn't need to produce any errors in case if process exit during the pre-stop. [13:50] oh, nevermind, problem were that app retuned code !=0 on exit [14:22] gena2x: in $ man 5 init [14:22] gena2x: you can read about "normal exit" stanza [14:23] gena2x: where you can specify "normal" exit return cores and signals. [14:23] gena2x: normal exit 0 1 TERM SIGHUP [14:23] gena2x: e.g. such that it's considered "normal" for the process to finish with exit codes "0" "1" and signals "SIGTERM" and "SIGHUP" (signals can be specified with or without SIG prefix) [14:24] gena2x: this will result in job not getting respawned. [14:24] xnox, thank you, i already understood that i made mistake and my problem were in wrong exit code. [14:25] xnox, now all fine [14:25] gena2x: fair enough =) [16:40] how to get rid of "main process (pid) killed by TERM signal" in the logs? === SpamapS is now known as Spam === Spam is now known as Maps === Maps is now known as CannedMeat === CannedMeat is now known as SpamapS