bacula/bacula-fd.service

17 lines
427 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
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