creating a sysv script

Christopher K. Johnson ckjohnson at gwi.net
Thu Jan 27 12:19:58 UTC 2005


Craig White wrote:

>my problem is that my sysv script (called relay) hangs at the point
>where it wants to  initlog -q -c /usr/local/sbin/relaydelay.pl    and
>this obviously comes from the code in /etc/rc.d/init.d/functions. If I
>kill the neverending process...everything is fine and the program is
>launched BUT - it never detaches from the terminal. i.e.
>  
>
In the start stanza try changing the daemon line so the program 
ultimately run by initlog will be backgrounded:

daemon $prog &


Chris

-- 
   "Spend less!  Do more!  Go Open Source..." -- Dirigo.net
   Chris Johnson, RHCE #807000448202021




More information about the fedora-list mailing list