Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 27 Nov 2008 13:42:45 +0000
From:      "Anthony M. Rasat" <anthony.rasat@gmail.com>
To:        freebsd-questions@freebsd.org
Subject:   Re: process always running
Message-ID:  <896150446-1227793387-cardhu_decombobulator_blackberry.rim.net-487275677-@bxe002.bisx.prodap.on.blackberry>

next in thread | raw e-mail | index | archive | help
>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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?896150446-1227793387-cardhu_decombobulator_blackberry.rim.net-487275677->