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

19 lines
478 B
Desktop File

[Unit]
Description=Bacula-FileDaemon, a Backup-client
Requires=syslog.target network.target
After=network.target
[Service]
Environment=CONFIG=/etc/bacula/bacula-fd.conf
Environment=FD_USER=root
Environment=FD_GROUP=root
EnvironmentFile=-/etc/sysconfig/bacula-fd
ExecStartPre=/usr/sbin/bacula-checkconf $CONFIG
ExecStart=/usr/sbin/bacula-fd -f -c $CONFIG -u $FD_USER -g $FD_GROUP
IOSchedulingClass=idle
StandardOutput=syslog
Restart=always
[Install]
WantedBy=multi-user.target