Re: Dienste beobachten

From: Lars Engels <lars.engels(at)0x20.net>
Date: Sat, 22 Mar 2008 23:02:06 +0100

On Fri, Mar 21, 2008 at 11:40:37PM +0100, Bernd Walter wrote:
> On Fri, Mar 21, 2008 at 07:39:47PM +0100, Lars Engels wrote:
> > The init utility can also be used to keep arbitrary daemons
> > running, automatically restarting them if they die. In this case, the first
> > field in the ttys(5) file must not reference the path to a configured
> > device node and will be passed to the daemon as the final argument on its
> > com- mand line. This is similar to the facility offered in the AT&T
> > System V UNIX /etc/inittab.
> >
> > Weiß jemand, was ich falsch mache?
>
> Dein Programm wird sich nach dem Start sofort wieder beenden.
> Vermutlich, weil es sich einmal wegfork'ed und nur das Kind überlebt.

Das kann natürlich sein. Schade, dann werde ich mir etwas anderes
überlegen müssen...


To Unsubscribe: send mail to majordomo(at)de.FreeBSD.org
with "unsubscribe de-bsd-questions" in the body of the message
Received on Sat 22 Mar 2008 - 23:02:05 CET

search this site