I've just placed the bacula script that starts the daemons into the /etc/init.d dir.
Depending on your distro, you'll need to make symlinks in the appropriate rcX.d
dirs, pointing at your startup script, or it won't be run.
Easiest may be to let /etc/rc.local
start it up. The commands in rc.local
are run (as root) after everything else has started up.
Make sure startupscript is set as executable, and writable only by root.
Then put /path/to/bacula/startscript
just before the final exit 0