[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: restart a script in etc/rc.d
- To: Doug Barton <dougb_(_at_)_freebsd_(_dot_)_org>
- Subject: Re: restart a script in etc/rc.d
- From: Glen Barber <glen_(_dot_)_j_(_dot_)_barber_(_at_)_gmail_(_dot_)_com>
- Date: Mon, 2 Mar 2009 16:12:23 -0500
- Cc: ports_(_at_)_freebsd_(_dot_)_org, stable_(_at_)_freebsd_(_dot_)_org
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=kGJaz7DqOS/0ZRQpmJN6gzxltkRU8bSz9T7M4CZdNGo=; b=J32X29rd0lSqV7srB0/WQW22SjrlvT48YymV6kNfpcn4fVIf2qf5yXhQPBVRNxwbLJ ezdPdEq/d4fNubx+r9IWAx0opSfXQrX1Au9ihyv1FLifD+Hgs43gVKhmeVCqZxPj0ACw IfdHC7vN65Zi9qTuCOAC9kvocbCMx2iJ+dh3w=
On Mon, Mar 2, 2009 at 4:10 PM, Glen Barber <glen_(_dot_)_j_(_dot_)_barber_(_at_)_gmail_(_dot_)_com> wrote:
> On Mon, Mar 2, 2009 at 2:25 PM, Oliver Lehmann <lehmann_(_at_)_ans-netz_(_dot_)_de> wrote:
>> Hi Doug,
>>
>> Doug Barton wrote:
>>
>>> Also, the assignment of pidfile should really come after the defaults are
>>> set.
>>>
>>> If you do all that and it still doesn't work, send a diff of your two rc.d
>>> scripts to the list.
>>
>> PROVIDE is in both cases "utility" (probably a generic unchanged default)
>> - I've changed it to utility2 for bacula-fd2 with no changes. Here the diff:
>>
>> root_(_at_)_nudel rc.d> diff -u bacula-fd*
>> --- bacula-fd 2009-02-15 23:25:03.000000000 +0100
>> +++ bacula-fd2 2009-03-02 20:22:40.000000000 +0100
>> @@ -16,16 +16,16 @@
>>
>> . /etc/rc.subr
>>
>> -name="bacula_fd"
>> +name="bacula_fd2"
>> rcvar=${name}_enable
>> command=/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.
--
Glen Barber
_______________________________________________
freebsd-stable_(_at_)_freebsd_(_dot_)_org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscribe_(_at_)_freebsd_(_dot_)_org"
Visit your host, monkey.org