restart a script in etc/rc.d

Glen Barber glen.j.barber at gmail.com
Mon Mar 2 13:11:00 PST 2009


On Mon, Mar 2, 2009 at 2:25 PM, Oliver Lehmann <lehmann at ans-netz.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


More information about the freebsd-ports mailing list