2011-09-08 16:31:35 +00:00
|
|
|
[Unit]
|
|
|
|
Description=Bacula-StorageDaemon, the storage-server
|
2012-07-10 12:36:37 +00:00
|
|
|
Requires=syslog.target network.target nss-lookup.target
|
|
|
|
After=network.target nss-lookup.target
|
2011-09-08 16:31:35 +00:00
|
|
|
|
|
|
|
[Service]
|
|
|
|
Environment=CONFIG=/etc/bacula/bacula-sd.conf
|
|
|
|
EnvironmentFile=-/etc/sysconfig/bacula-sd
|
|
|
|
ExecStartPre=/usr/sbin/bacula-checkconf $CONFIG
|
2011-12-06 08:48:33 +00:00
|
|
|
ExecStart=/usr/sbin/bacula-sd -f $OPTS -c $CONFIG -u $SD_USER -g $SD_GROUP
|
2011-09-08 16:31:35 +00:00
|
|
|
StandardOutput=syslog
|
2011-10-21 07:07:37 +00:00
|
|
|
Restart=always
|
2011-09-08 16:31:35 +00:00
|
|
|
|
|
|
|
[Install]
|
|
|
|
WantedBy=multi-user.target
|