Python daemon

Cameron Laird claird at starbase.neosoft.com
Tue Jun 25 08:38:42 EDT 2002


In article <mailman.1024999953.15765.python-list at python.org>,
Roman Suzi  <rnd at onego.ru> wrote:
			.
			.
			.
>> 3. restarting of the program if it fails, or the watchdog doesn't trigg=
>er
>
>Run the program from the /etc/inittab - if it terminates,=20
>init will restart it for you.
			.
			.
			.
This is one of the great FMMs under Unix--the under-utilization
of init(1).  From everything I know, Roman's exactly right, that
/etc/inittab is the right way to set up a process that you truly
want to keep running.  However, many, MANY Unix hosts have all
kinds of ugly home-brewed hacks to duplicate this functionality.
I don't have an explanation, beyond the rather tautologous ob-
servation that init(1) simply isn't as widely understood as it
deserves to be.
-- 

Cameron Laird <Cameron at Lairds.com>
Business:  http://www.Phaseit.net
Personal:  http://starbase.neosoft.com/~claird/home.html



More information about the Python-list mailing list