in reply to Re^2: background w/out fork?
in thread background w/out fork?

Then what you want is
nohup /usr/local/sbin/relaydelay.pl $CONFIG > /var/log/relaydelay.l +og 2>&1 &
Update: Fix Typoes. It's been a long month....

----
I Go Back to Sleep, Now.

OGB

Replies are listed 'Best First'.
Re^4: background w/out fork?
by Anonymous Monk on Jul 01, 2004 at 12:39 UTC

    don't forget stdin! i don't know if it's really needed but i think it keeps my ssh from hanging when i exit (maybe because some process still has the pty open as stdin?)

    nohup /usr/local/sbin/relaydelay.pl $CONFIG >/var/log/relaydelay.lg 2> +&1 </dev/null &