On 2 May 2005 at 7:17, Lars Köller wrote:

> ----------
>
> In reply to Dan Langille who wrote:
>
> > On 1 May 2005 at 21:52, dave wrote:
> >
> > >     I've got a working bacula install running on a FreeBSD 5.3
> > >     system with a
> > > mysql database. My problem is on boot bacula starts before mysql,
> > > generating an error, the director tries to access mysql, which
> > > doesn't happen. Once the system is booted i manually start bacula
> > > and all is good. Has anyone else seen this? Thanks. Dave.
> >
> > Yes.  Solve the problem with this:
> >
> >    cd /usr/local/etc/rc.d
> >    mv bacula.sh z-bacula.sh
> >
> > Actually, I think we should put this into the port.
> >
> > Any files in that directly, which are +x and end with .sh will be
> > run, in alphabetically ar startup.
> >
> > Lars:  I don't know of any other way to achieve this.  Do you?
>
> That's the weekness of the "old" BSD startup concept. At home I always
> move the scripts to something like:
>
>   400.mysql.sh
>   600.bacula.sh
>   700.httpd.sh
>   800.imapd.sh
>
> Or something similar. So I have to look into /usr/local/etc/rc.d/
> after each new install or portupgrade .... :-(
>
> The problem for the port ist not that I have to implement and test an
> upgrade procedure for renaming bacula.sh to z-bacule.sh ....

Just do a ${MV}.

> I will have a look at it, but it's really an ugly workaround!

It's the best we have.
--
Dan Langille : http://www.langille.org/
BSDCan - The Technical BSD Conference - http://www.bsdcan.org/
   NEW brochure available at http://www.bsdcan.org/2005/advocacy/



-------------------------------------------------------
This SF.Net email is sponsored by: NEC IT Guy Games.
Get your fingers limbered up and give it your best shot. 4 great events, 4
opportunities to win big! Highest score wins.NEC IT Guy Games. Play to
win an NEC 61 plasma display. Visit http://www.necitguy.com/?r 
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to