On Wed, May 12, 2004 at 03:50:38PM -0500, rpgoldman at real-time.com wrote:
> 
> I'm trying to set up an ordinary program, that writes stdout and
> stderr, as a daemon, to be run as a SysV service (in
> /etc/rc.d/init.d/).
>

It looks to me like bash works fine:

/usr/local/bin/myprogram < /dev/null > /dev/null 2>&1 &

Take a skeleton /etc/init.d script, put the above in
the start case, and in the stop case:
killall myprogram


 


_______________________________________________
TCLUG Mailing List - Minneapolis/St. Paul, Minnesota
Help beta test TCLUG's potential new home: http://plone.mn-linux.org
Got pictures for TCLUG? Beta test http://plone.mn-linux.org/gallery
tclug-list at mn-linux.org
https://mailman.real-time.com/mailman/listinfo/tclug-list