Re: creating a sysv script

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux