[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

debian package "run" vs. inittab entry



Hi,

I have a small daemon type program that I would like to run.  It
maintains a communication channel via sockets with another copy of
itself.

I would like it to always be running, and if it dies, I wish to
restart it.

The debian package "run" is suitable for this task, however the
author warns that is it not a good program.

As an alternate approach it seems to me that an entry in the 
/etc/inittab  something like:

  my:2:respawn:/usr/local/bin/mydaemon

would do just the right thing.

Has anyone ever done something like this?

thanks,
Stuart



Reply to: