2011-09-08 16:31:35 +00:00
|
|
|
[Unit]
|
|
|
|
Description=Bacula-FileDaemon, a Backup-client
|
|
|
|
Requires=syslog.target network.target
|
|
|
|
After=network.target
|
|
|
|
|
|
|
|
[Service]
|
|
|
|
Environment=CONFIG=/etc/bacula/bacula-fd.conf
|
|
|
|
EnvironmentFile=-/etc/sysconfig/bacula-fd
|
|
|
|
ExecStartPre=/usr/sbin/bacula-checkconf $CONFIG
|
2011-12-06 08:48:33 +00:00
|
|
|
ExecStart=/usr/sbin/bacula-fd -f $OPTS -c $CONFIG -u $FD_USER -g $FD_GROUP
|
2011-09-08 16:31:35 +00:00
|
|
|
IOSchedulingClass=idle
|
|
|
|
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
|