[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:10:58 -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=55psmhR0HtQUY5Cie9nmO4YghqtOY2bWH6LMu+ODHMA=; b=G8XJIgrE4v4/cPPByp/Ww8T/EDdJyJxYEImTkmRFTbd8hqFpteOZV7slU5Vx51uS8u FPxCpwN4J9FTgSk1mADL4X+wqAnFuGCDYrxvBE2rNdo57gb8jJSDjEhNEI73zksrx12E /DgEcjzrw6p0wl2zuy+hiHVo9bzkdsEukGiv0=
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'?
--
Glen Barber
_______________________________________________
freebsd-ports_(_at_)_freebsd_(_dot_)_org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscribe_(_at_)_freebsd_(_dot_)_org"
Visit your host, monkey.org