Re: speaking of SysV scripts - starting perl program

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Jeremy C. Reed
Date:  
To: plug-discuss
Subject: Re: speaking of SysV scripts - starting perl program
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


Jeremy C. Reed

                 open source, Unix, *BSD, Linux training
                http://www.pugetsoundtechnology.com/


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