Martin Simmons wrote: >>>>>> On Thu, 15 Oct 2009 07:34:57 -0300, Daniel Bareiro said: >> >> On Wednesday, 14 October 2009 17:38:59 +0100, >> Martin Simmons wrote: >> # DGB - 20091012 >> # Starting bacula-fd on boot >> if [ -x /etc/bacula/scripts/bacula-ctl-fd ]; then >> /etc/bacula/scripts/bacula-ctl-fd start >> fi
Daniel, I'm the port maintainer for Bacula on OpenBSD. And this is the way I start bacula (with /etc/rc.local). >> There is some way to normally stop daemon during shutdown/reboot of the >> operating system? bacula-fd will just stop properly when it receives the kill signal during the shutdown process. If that's not good enough for you, you could add a similar stanza as you use in rc.local to rc.shutdown with s/start/stop/. Also, the port that's in -current for the latest and greatest Bacula that should work with only a little tweaking in 4.5. Email me privately if you need some help. > If OpenBSD uses /usr/local/etc/rc.d like FreeBSD, then it would be better > to add a script there. It doesn't out of the box. There are a couple ports that offer a SysV-like startup process, but rc.local is the preferred way to start daemons. -ME ------------------------------------------------------------------------------ Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users