From owner-freebsd-questions@FreeBSD.ORG Sun Dec 18 10:50:57 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C17FC16A41F for ; Sun, 18 Dec 2005 10:50:57 +0000 (GMT) (envelope-from bjoern.koenig@spray.se) Received: from efacilitas.de (smtp.efacilitas.de [85.10.196.108]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3A6D243D53 for ; Sun, 18 Dec 2005 10:50:57 +0000 (GMT) (envelope-from bjoern.koenig@spray.se) Received: from eurystheus.local (port-212-202-39-231.dynamic.qsc.de [212.202.39.231]) by efacilitas.de (Postfix) with ESMTP id 5E2F94D00C; Sun, 18 Dec 2005 11:59:19 +0100 (CET) Received: from [192.168.1.2] (muhkuh.local [192.168.1.2]) by eurystheus.local (Postfix) with ESMTP id C6E38508B5; Sun, 18 Dec 2005 11:49:40 +0100 (CET) Message-ID: <43A53F1C.9030200@spray.se> Date: Sun, 18 Dec 2005 11:51:08 +0100 From: =?ISO-8859-1?Q?Bj=F6rn_K=F6nig?= User-Agent: Mozilla Thunderbird 1.0.7 (Windows/20050923) X-Accept-Language: de-DE, de, en-us, en MIME-Version: 1.0 To: Gustavo Parrini References: <43A4E20F.2050207@tdf.com.br> In-Reply-To: <43A4E20F.2050207@tdf.com.br> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit Cc: freebsd-questions@freebsd.org Subject: Re: How to make init(8) run a daemon to me?? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 18 Dec 2005 10:50:57 -0000 Gustavo Parrini schrieb: > I'm having a pretty hard time trying to figure out how > can I get init(8) to run a daemon and respawn it if it > crashes. By the time I was a Linux user, it was done by > adding a line in /etc/inittab and it was all... > > I know that it must be done in /etc/ttys but I couldn't > find any syntax example after searching the FreeBSD manpages, > maillists, Handbook and Google. This is an example for /etc/ttys: "" "/bin/sleep 12" unknown on secure Björn