bacula/bacula-sd.service
2011-12-06 09:48:33 +01:00

16 lines
416 B
Desktop File

[Unit]
Description=Bacula-StorageDaemon, the storage-server
Requires=syslog.target network.target
After=network.target
[Service]
Environment=CONFIG=/etc/bacula/bacula-sd.conf
EnvironmentFile=-/etc/sysconfig/bacula-sd
ExecStartPre=/usr/sbin/bacula-checkconf $CONFIG
ExecStart=/usr/sbin/bacula-sd -f $OPTS -c $CONFIG -u $SD_USER -g $SD_GROUP
StandardOutput=syslog
Restart=always
[Install]
WantedBy=multi-user.target