/lib/systemd/system/bareos-filedaemon.service is in bareos-filedaemon 16.2.4-3+deb9u2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 | # This file is part of package Bareos File Daemon
#
# Copyright (c) 2011 Free Software Foundation Europe e.V.
# Bareos Community
# Author: Bruno Friedmann
# Description:
# Used to start the bareos file daemon service (bareos-fd)
# will be installed as /lib/systemd/system/bareos-fd.service
# enable : systemctl enable bareos-fd.service
# start : systemctl start bareos-fd.service
#
# Bareos File Daemon service
#
[Unit]
Description=Bareos File Daemon service
Documentation=man:bareos-fd(8)
Requires=nss-lookup.target network.target remote-fs.target time-sync.target
After=nss-lookup.target network.target remote-fs.target time-sync.target
# Wants=
# Before=
# Conflicts=
[Service]
Type=forking
User=root
Group=bareos
WorkingDirectory=/var/lib/bareos
PIDFile=/var/lib/bareos/bareos-fd.9102.pid
StandardOutput=syslog
ExecStart=/usr/sbin/bareos-fd
SuccessExitStatus=0 15
Restart=on-failure
# IOSchedulingClass=idle
[Install]
Alias=bareos-fd.service
WantedBy=multi-user.target
|