bacula/bacula-sd.service

18 lines
463 B
SYSTEMD
Raw Normal View History

2011-09-08 16:31:35 +00:00
[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
2011-10-21 07:07:37 +00:00
Restart=always
2011-09-08 16:31:35 +00:00
[Install]
WantedBy=multi-user.target