Derek Ragona writes:
> In most cases you want the service to write the PID to a file in
> /var/log so only one instance is started.
Ins't the canonical location for this "/var/run"?
Robert Huff
___
freebsd-qu
rc scripts should accept a few arguments:
start
stop
restart
You can usually find one in /usr/local/etc/rc.d to copy from.
In most cases you want the service to write the PID to a file in /var/log
so only one instance is started. Also be sure you use full pathnames in
your scripts, don't assu
> -Original Message-
> From: Jerry McAllister [mailto:[EMAIL PROTECTED]
> Sent: Monday, March 05, 2007 10:44 AM
> To: Jean-Philippe Daigle
> Cc: freebsd-questions@freebsd.org
> Subject: Re: Starting a service on boot
>
> On Mon, Mar 05, 2007 at 09:37:54AM -0500, Je
On Mon, Mar 05, 2007 at 09:37:54AM -0500, Jean-Philippe Daigle wrote:
> Hello,
>
> I'm attempting to add a new program to the list of services starting at
> boot time on FreeBSD 6.1. Unfortunately, although running the script
> directly as root starts it up just fine, it's not starting at boot ti
On Mon, Mar 05, 2007 at 09:37:54AM -0500, Jean-Philippe Daigle wrote:
> Hello,
>
> I'm attempting to add a new program to the list of services starting at
> boot time on FreeBSD 6.1. Unfortunately, although running the script
> directly as root starts it up just fine, it's not starting at boot tim
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:owner-freebsd-
> [EMAIL PROTECTED] 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
>
> Perhaps you could
From: [EMAIL PROTECTED] [mailto:owner-freebsd-
[EMAIL PROTECTED] On Behalf Of Chris Slothouber
Sent: Monday, March 05, 2007 9:53 AM
To: FreeBSD-questions@FreeBSD.org
Subject: Re: Starting a service on boot
I think you need to call it cc.sh
And make sure it's +x
Thanks, the script is definitely
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:owner-freebsd-
> [EMAIL PROTECTED] On Behalf Of Chris Slothouber
> Sent: Monday, March 05, 2007 9:53 AM
> To: FreeBSD-questions@FreeBSD.org
> Subject: Re: Starting a service on boot
>
> I think you need to
I think you need to call it cc.sh
And make sure it's +x
Jean-Philippe Daigle wrote:
Hello,
I'm attempting to add a new program to the list of services starting at
boot time on FreeBSD 6.1. Unfortunately, although running the script
directly as root starts it up just fine, it's not starting at b
Hello,
I'm attempting to add a new program to the list of services starting at
boot time on FreeBSD 6.1. Unfortunately, although running the script
directly as root starts it up just fine, it's not starting at boot time.
I've found documentation that says there are two basic steps to follow:
1) C
10 matches
Mail list logo