From owner-freebsd-questions@FreeBSD.ORG Thu Apr 1 10:11:25 2004 Return-Path: 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 4A5F816A4CE for ; Thu, 1 Apr 2004 10:11:25 -0800 (PST) Received: from mprdmxin.myway.com (nn7.excitenetwork.com [207.159.120.61]) by mx1.FreeBSD.org (Postfix) with ESMTP id 02C4043D46 for ; Thu, 1 Apr 2004 10:11:25 -0800 (PST) (envelope-from homebreweverything2@myway.com) Received: by mprdmxin.myway.com (Postfix, from userid 110) id 5F34A397A; Thu, 1 Apr 2004 13:11:20 -0500 (EST) To: freebsd-questions@FreeBSD.ORG Received: from [66.236.209.67] by mprdmailfe1.nwk.myway.com via HTTP; Thu, 01 Apr 2004 13:11:20 EST X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: ID = b51198df70e67f5fdd751c6bd37b5568 From: "homebreweverything2" MIME-Version: 1.0 X-Sender: homebreweverything2@myway.com X-Mailer: PHP Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Message-Id: <20040401181120.5F34A397A@mprdmxin.myway.com> Date: Thu, 1 Apr 2004 13:11:20 -0500 (EST) Subject: Running arbitary daemons with init X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: homebreweverything2@myway.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 Apr 2004 18:11:25 -0000 I am having troubling getting init on a freebsd 5.0-RELEASE machine to keep one of my scripts running. It's a bash script, which runs fine if I run it nohup bashscript.sh &. But, if I add the following line to my ttys: checkhost "/home/user/bashscript.sh" unknown on and send the HUP signal to init, the script does not run. I've tried a couple variants of the line, labelling it as sercure and insecure, but I've been unable to get init to launch it. Any ideas? Thanks, Mike _______________________________________________ No banners. No pop-ups. No kidding. Introducing My Way - http://www.myway.com