From owner-freebsd-questions@FreeBSD.ORG Mon Mar 5 15:13:41 2007 Return-Path: X-Original-To: FreeBSD-questions@FreeBSD.org Delivered-To: FreeBSD-questions@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 9889116A401 for ; Mon, 5 Mar 2007 15:13:41 +0000 (UTC) (envelope-from jean.daigle@SolaceSystems.com) Received: from mail.allstreamits.com (mail.allstreamits.com [66.46.107.253]) by mx1.freebsd.org (Postfix) with ESMTP id 4742913C4AA for ; Mon, 5 Mar 2007 15:13:41 +0000 (UTC) (envelope-from jean.daigle@SolaceSystems.com) X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Date: Mon, 5 Mar 2007 10:14:17 -0500 Message-ID: <6B865826E860EF42B3A387A03F39539616918113@EX0004.AllstreamITS.local> In-reply-to: <45EC319C.3010202@hier7.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Starting a service on boot Thread-Index: AcdfOD/eyHvZOvLgTguRKqF7UlnXSwAAEWjQ References: <6B865826E860EF42B3A387A03F39539616917F69@EX0004.AllstreamITS.local><45EC2EDE.9090201@hier7.com><6B865826E860EF42B3A387A03F3953961691808C@EX0004.AllstreamITS.local> <45EC319C.3010202@hier7.com> From: "Jean-Philippe Daigle" To: "Chris Slothouber" , Cc: Subject: RE: Starting a service on boot 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: Mon, 05 Mar 2007 15:13:41 -0000 > -----Original Message----- > From: owner-freebsd-questions@freebsd.org [mailto:owner-freebsd- > questions@freebsd.org] On Behalf Of Chris Slothouber > Sent: Monday, March 05, 2007 10:05 AM > To: FreeBSD-questions@FreeBSD.org > Subject: Re: Starting a service on boot >=20 > Perhaps you could put a debug point in the script to ensure it is being > started (e.g. touch a file or echo something to the terminal), and if it > is indeed being run by rc, move the point until you find out where it's > breaking? Thanks for the suggestion! I did, and it really looks like the script never gets started. Permissions: (/etc/rc.d)$ ls -l cc.sh=20 -rwxr-xr-x 1 root wheel 246 Mar 5 10:11 cc.sh Script contents: (/etc/rc.d)$ cat cc.sh=20 #!/bin/sh # # PROVIDE: cc # REQUIRE: DAEMON . /etc/rc.subr touch /tmp/quuuuuuux name=3D"cc" rcvar=3D`set_rcvar` command=3D"/home//cruisecontrol/cruisecontrol.sh" command_args=3D"&" cc_user=3D"" load_rc_config $name run_rc_command "$1" Of course, the file /tmp/quuuuuuux never gets created, so the script isn't running. -JP