Re: daemontools 0.70 in debian etch

richard lucassen <[email protected]> Wed, 25 Jun 2008 16:48:44 +0200
Newsgroups gmane.comp.djb.syslog
Organization XAQ Systems
Message-ID <[email protected]>
On Wed, 25 Jun 2008 11:18:01 -0300
Otavio Exel <[email protected]> wrote:

> today I was installing daemontools 0.70 in box with a fresh install of
> Debian etch; I added the line (note wrap)

This is how I did it on Debian Etch (mind there are many ways to do
this):


$ grep DJB /etc/inittab
DJB:23:respawn:/usr/scripts/start-svscan



$ cat /usr/scripts/start-svscan
#!/bin/sh
PATH=${PATH}:/usr/local/bin:/usr/sbin:/usr/bin:/bin
exec /usr/bin/svscan /service/

Richard.

 
>  SV:123456:respawn:env -
>  PATH=/usr/local/bin:/usr/local/sbin:/bin:/sbin:/usr/bin:/usr/sbin
>  svscan /service </dev/null >/dev/console 2>/dev/console
> 
> to /etc/inittab and it complained in /var/log/syslog
> 
>  Jun 25 10:39:25 server init: /etc/inittab[72]: process field too long
> 
> I removed the 3 redirections and it worked ok
> 
> are the redirections really important in this case?
> any clues to fix this?
> 
> []s,
> 
> -- 
> Otavio Exel /<\oo/>\ [email protected]


-- 
___________________________________________________________________
It is better to remain silent and be thought a fool, than to speak
aloud and remove all doubt.

+------------------------------------------------------------------+
| Richard Lucassen, Utrecht                                        |
| Public key and email address:                                    |
| http://www.lucassen.org/mail-pubkey.html                         |
+------------------------------------------------------------------+