While bacula-sd would start fine when run manually at the command-line
with "/opt/bacula/bin/bacula-sd", running it as a systemd service
consistently resulted in the daemon starting and then stopping almost
immediately, with no errors from bacula-sd and with systemd reporting
just an 'unknown error'.

If the daemon was run with "-T -d xxx -f", it would remain running.

Modifying the systemd service file (/usr/lib/systemd/system/bacula-sd.service) 
to use:

        Type=forking

(instead of "Type=simple") allowed the daemon to start correctly under
systemd without any debugging options.

Thanks,

Mark

-- 
Mark Bergman                                           voice: 215-746-4061      
 
mark.berg...@pennmedicine.upenn.edu                      fax: 215-614-0266
http://www.med.upenn.edu/cbica/
IT Technical Director, Center for Biomedical Image Computing and Analytics
Department of Radiology                         University of Pennsylvania


_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to