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

19 lines
486 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=restart-always
[Install]
WantedBy=multi-user.target