Re: speaking of SysV scripts - starting perl program

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Craig White
Date:  
To: plug-discuss
Subject: Re: speaking of SysV scripts - starting perl program
On Tue, 2005-01-25 at 09:57 -0800, Jeremy C. Reed wrote:
> On Tue, 25 Jan 2005, Craig White wrote:
>
> > /root/relaydelay-0.04/relaydelay.pl &
> >
> > then it outputs to terminal I ran it from.
> >
> > If I use
> >
> > /root/relaydelay-0.04/relaydelay.pl 2>&1
> >
> > then I don't get the terminal back at all - as if it hasn't forked. I
> > need to have this run as a service without output to a terminal and
> > obviously run without a terminal connection at all. How do I do this?
>
> So also have it output file handle 1 to a file and background it too.
>
> But instead, you may want to use nohup, such as:
>
> nohup /root/relaydelay-0.04/relaydelay.pl

----
this didn't work ;-(

neither did

/root/relaydelay-0.04/relaydelay.pl & > /var/log/relaydelay.log

am trying

/root/relaydelay-0.04/relaydelay.pl & 2>&1 > /var/log/relaydelay.log

nope...

Craig

---------------------------------------------------
PLUG-discuss mailing list -
To subscribe, unsubscribe, or to change you mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss