From owner-freebsd-questions Sat Jan 19 11:47:29 2002 Delivered-To: freebsd-questions@freebsd.org Received: from lionsoft.xs4all.nl (lionsoft.xs4all.nl [213.84.78.232]) by hub.freebsd.org (Postfix) with ESMTP id 7DDAE37B404 for ; Sat, 19 Jan 2002 11:47:22 -0800 (PST) Received: from win2kws1 (win2k-ws1 [10.1.1.20]) by lionsoft.xs4all.nl (8.9.3/8.9.3) with SMTP id UAA18949 for ; Sat, 19 Jan 2002 20:47:19 +0100 Reply-To: From: "Jacco" To: "FreeBSD Questions" Subject: Starting kornshellscripts as services Date: Sat, 19 Jan 2002 20:47:20 +0100 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0) X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4807.1700 Importance: Normal Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hi All, Lately I developed some kornshell scripts to monitor various activities on my firewall. The script is an eternal loop. At this moment I start this script like: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/configtuning-start ing-services.html When my FreeBSD 4.4 system reboots, the boot proces does not finish. The boot proces stops at the start of my kornshell script and his eternal loop. This results in: not be able to logon the console of this machine exept when I kill the process of this script. It seems that this kornshell script is running on foreground. I would realy like to start it on the background. I've already tried to start the script with the "nohup" option and the "&" at the end of the row that starts the kornshell script. My question is: Is it possible to start home-made kornshell scripts like a service on the background. Is the way I'm trying to start this script the right one? Are there any different ways to start kornshell scripts in the background as a part of the bootproces? Thanks in advance, Jacco To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message