Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 2 Mar 2009 16:12:23 -0500
From:      Glen Barber <glen.j.barber@gmail.com>
To:        Doug Barton <dougb@freebsd.org>
Cc:        ports@freebsd.org, stable@freebsd.org
Subject:   Re: restart a script in etc/rc.d
Message-ID:  <4ad871310903021312n63b5dbefg25e2ed5adbd4a954@mail.gmail.com>
In-Reply-To: <4ad871310903021310t46aecd98i56237d3eb6e4eafe@mail.gmail.com>
References:  <20090302163843.cc66c55e.lehmann@ans-netz.de> <alpine.BSF.2.00.0903021100190.59723@qbhto.arg> <20090302202520.eaf09b15.lehmann@ans-netz.de> <4ad871310903021310t46aecd98i56237d3eb6e4eafe@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Mar 2, 2009 at 4:10 PM, Glen Barber <glen.j.barber@gmail.com> wrote=
:
> On Mon, Mar 2, 2009 at 2:25 PM, Oliver Lehmann <lehmann@ans-netz.de> wrot=
e:
>> Hi Doug,
>>
>> Doug Barton wrote:
>>
>>> Also, the assignment of pidfile should really come after the defaults a=
re
>>> set.
>>>
>>> If you do all that and it still doesn't work, send a diff of your two r=
c.d
>>> scripts to the list.
>>
>> PROVIDE is in both cases "utility" (probably a generic unchanged default=
)
>> =A0- I've changed it to utility2 for bacula-fd2 with no changes. Here th=
e diff:
>>
>> root@nudel rc.d> diff -u bacula-fd*
>> --- bacula-fd =A0 2009-02-15 23:25:03.000000000 +0100
>> +++ bacula-fd2 =A02009-03-02 20:22:40.000000000 +0100
>> @@ -16,16 +16,16 @@
>>
>> =A0. /etc/rc.subr
>>
>> -name=3D"bacula_fd"
>> +name=3D"bacula_fd2"
>> =A0rcvar=3D${name}_enable
>> =A0command=3D/usr/local/sbin/bacula-fd
>>
>
> I didn't see anyone else mention this -- did you change 'bacula-fd' to
> 'bacula-fd2'?
>

Actually... That may not work (although, you could create a symlink,
but I doubt that'll help).  Ignore my noise.

--=20
Glen Barber



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4ad871310903021312n63b5dbefg25e2ed5adbd4a954>