Help with respawn

Matthias Urlichs smurf at smurf.noris.de
Thu Apr 19 07:03:58 BST 2007


Hi,

Michael Biebl:
> Your process must not fork, otherwise upstart can't monitor it. There
> will be support for pid files in the future, but that functionality
> still has to be implemented.

Personally, I don't like pid files.

A simple initctl "hello, my pid is now XXX" control message should be
sufficient. That way, a start script can simply read the pid file and
forward that to init, before exiting.

I don't want init itself to mess around in the file system unless
absolutely necessary.

-- 
Matthias Urlichs   |   {M:U} IT Design @ m-u-it.de   |  smurf at smurf.noris.de
Disclaimer: The quote was selected randomly. Really. | http://smurf.noris.de
 - -
<StevenK> You're rewriting parts of Quake in *Python*?
<knghtbrd> MUAHAHAHA



More information about the upstart-devel mailing list