process always running

Anthony M. Rasat anthony.rasat at gmail.com
Thu Nov 27 05:43:13 PST 2008


>there is a method in freebsd for  >restart process whenever it >terminates ? I
>use in linux respawn in inittab...

I'm still a big fan of Daniel J. Bernstein's daemontools. Go grab it from http://cr.yp.to/daemontools.html and be sure to read instructions. Not exactly configure-make-install kinda thingy. I don't recall daemontools in FreeBSD ports though, maybe there is.

Oh almost forgot, just to save your not-itchy hair, daemontools require your application to be running on foreground. Find a way to do so but if you haven't found it, there is a tool to do so. Once again, read instructions thoroughly.

-- 

Regards,

Anthony M. Rasat
Manager - Technical, Network and Support Division
PT. Jawa Pos National Network
Graha Pena Jawa Pos Group Building, 5th floor
Jln. Raya Kebayoran Lama 12, Jakarta Barat 12210
Indonesia.-
Phone 02132185562
Phone 081574217035
Fax 02153651465
Web http://www.jpnn.com


More information about the freebsd-questions mailing list