Re: squid wouldn't start because of ttyinput

From: Simon Amor <spa@dont-contact.us>
Date: Wed, 31 Jul 1996 09:31:17 +0100 (BST)

> > After successfully compiling, I installed the system, and stated as
> > follows,
> >
> > # squid &
> > 127.0.0.1 <- stderr
> > [1] + Stopped (tty input) squid
>
> Use the supplied shell wrapper to start Squid.
> * redirects stderr to a logfile
> * restarts squid when it crashes

If a program wants "tty input" and it shouldn't actually use anything
typed but instead run in the background, then just redirect /dev/null
into it to provide some input.

# squid < /dev/null >> /usr/local/squid/squid.out 2>&1 &

Hope this helps,

   Simon

-- 
Simon Amor                            | Voice: +44 (0)116 257 7156
Network & Communications Group        | mailto:spa@dmu.ac.uk
De Montfort University, Leicester,UK  | http://www.dmu.ac.uk/~spa/
Received on Wed Jul 31 1996 - 01:31:18 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:32:44 MST