[MTOS-dev] Daemonizing a process?

Reed A. Cartwright reed at scit.us
Thu Jan 17 20:26:58 PST 2008


Byrne Reese wrote:
> Does anyone know how I can bootstrap publish queue with a daemon monitoring
> service or tool? Doesn't linux have some way that I can allow for the
> process to be restarted if for some reason it dies?
> 
> What is this called? And is there a link that you can share that can show me
> how to do it?

It's called MT-Dispatch.  (Hehe).  It has support for the publishing 
queue built in, so that after a dispatch process is finished serving the 
page it disconects the user and calls any maintainance process that are 
waiting before serving the next page.  The dispatcher's parent process 
will respawn any worker processes if one dies.

-- 
*********************************************************
Reed A. Cartwright, PhD     http://scit.us/
Postdoctoral Researcher     http://www.dererumnatura.us/
Department of Genetics      http://www.pandasthumb.org/

Bioinformatics Research Center
North Carolina State University
Campus Box 7566
Raleigh, NC 27695-7566

Cuiusvis hominis est errare, nullius nisi
insipientis in errore perserverare. --Cicero


More information about the MTOS-dev mailing list