[Unit] Description=Bareos File Daemon service Documentation=man:bareos-fd(8) Requires=network.target nss-lookup.target time-sync.target After=network-online.target nss-lookup.target remote-fs.target time-sync.target ConditionPathIsDirectory=/var/lib/bareos [Service] Type=simple User=bareos Group=bareos RuntimeDirectory=bareos RuntimeDirectoryMode=0770 RuntimeDirectoryPreserve=yes WorkingDirectory=/var/lib/bareos AmbientCapabilities=CAP_SYS_PTRACE CAP_DAC_READ_SEARCH ExecStart=/usr/bin/bareos-fd -f ExecReload=/usr/bin/kill -HUP $MAINPID SuccessExitStatus=0 15 Restart=always IOSchedulingClass=idle [Install] Alias=bareos-filedaemon.service WantedBy=multi-user.target