blob: 07bd2e5d5f321ac83f955a53cb21e604b23cae04 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
[Unit]
Description=Bacula File Daemon service
After=network.target
[Service]
Type=forking
PIDFile=/var/run/bacula/bacula-fd.9112.pid
StandardOutput=syslog
ExecStart=/usr/sbin/bacula-fd -c /etc/bacula/bacula-fd.conf
# Hardening
NoNewPrivileges=yes
PrivateDevices=yes
ProtectHome=read-only
ProtectSystem=full
PrivateTmp=yes
ReadOnlyDirectories=/
ReadWriteDirectories=-/var/lib
ReadWriteDirectories=-/var/run/bacula
[Install]
WantedBy=multi-user.target
|