[Unit] Description=Bacula-Director, the Backup-server Documentation=man:bacula-dir(8) Requires=syslog.target network.target nss-lookup.target After=network.target nss-lookup.target [Service] Environment=CONFIG=/etc/bacula/bacula-dir.conf EnvironmentFile=-/etc/sysconfig/bacula-dir ExecStartPre=/usr/sbin/bacula-checkconf $CONFIG ExecStart=/usr/sbin/bacula-dir -f $OPTS -c $CONFIG -u $DIR_USER -g $DIR_GROUP StandardOutput=syslog Restart=always [Install] WantedBy=multi-user.target