bacula/bacula-sd.service
Tom "spot" Callaway 99bb2e4ea2 convert to systemd
2011-09-08 12:31:35 -04:00

18 lines
471 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
Environment=SD_USER=bacula
Environment=SD_GROUP=disk
EnvironmentFile=-/etc/sysconfig/bacula-sd
ExecStartPre=/usr/sbin/bacula-checkconf $CONFIG
ExecStart=/usr/sbin/bacula-sd -f -c $CONFIG -u $SD_USER -g $SD_GROUP
StandardOutput=syslog
Restart=restart-always
[Install]
WantedBy=multi-user.target