bacula/bacula-sd.service
2011-10-21 09:07:37 +02:00

18 lines
463 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=always
[Install]
WantedBy=multi-user.target