From: Bruno F. <br...@io...> - 2011-10-14 11:59:51
|
Dear Bacula's dev find joined a patch to create and have an option to configure/build native systemd service files. systemd is the replacement of sysV init It will be ship by default in Fedora 16 and openSUSE 12.1 and will be optionnal in next Debian. This doesn't touch any core functions and seems to be safe to have in next 5.2 people can get the native systemd serivces build with the --enable-systemd configure option The only small default (losing one feature compared to init.d scripts) is the loose of passing $2 (mainly -d999) for starting the service. For the moment until with systemd upstream I found a cool way to do that any admin can edit the .service file add the -d to the start line and run a restart. The other one to be safe, I actually not try to have the reload function implemented for the director which is not really needed on my point of view : usage of bacula-dir -t is better to get any configuration error raised , and then be safe when admin issue a bconsole reload. I'm running those service files from one month now, even with 5.0.3 version, without a problem. I'm truly open to any advice, comment and tests you can share. I've documented the usage of .service file directly in source. I would like to thanks Marco for his precious help with the autoconf/configure stuff. -- Bruno Friedmann Ioda-Net Sàrl www.ioda-net.ch openSUSE Member & Ambassador GPG KEY : D5C9B751C4653227 irc: tigerfoot |