Re: creating a sysv script

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

 



On Thu, 2005-01-27 at 09:50 -0500, Scot L. Harris wrote:
> On Thu, 2005-01-27 at 02:34, Craig White wrote:
> > Trying to use relaydelay.pl from projects.puremagic.com (greylisting
> > milter for sendmail)
> > 
> > End result is a perl file... and I want to invoke it as a daemon -
> > detached from any terminal.
> > 
> > it appears that most of the sysv scripts use /etc/rc.d/init.d/functions
> > to get a more sophisticated box of tools...
> > 
> > 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.
> 
> If you are unable to get this problem resolved you may want to check out
> milter-greylist.  That was easy to install and has worked very well
> providing greylisting capabilities for sendmail.
> 
> You may also want to look at its code to see how they get things setup,
> could help resolve your problem with the package you are using.
----
no it's setup - it's working. I'm just trying to figure out a way to get
it launched as a daemon - i.e. so that it doesn't list pts/3 or whatever
terminal so I can log out after starting or restarting.

How are you starting the program? 

Craig


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

  Powered by Linux