summaryrefslogtreecommitdiffstats
path: root/roles/bacula-dir/files/etc
diff options
context:
space:
mode:
Diffstat (limited to 'roles/bacula-dir/files/etc')
-rw-r--r--roles/bacula-dir/files/etc/systemd/system/bacula-director.service5
1 files changed, 5 insertions, 0 deletions
diff --git a/roles/bacula-dir/files/etc/systemd/system/bacula-director.service b/roles/bacula-dir/files/etc/systemd/system/bacula-director.service
index ba943ce..4873689 100644
--- a/roles/bacula-dir/files/etc/systemd/system/bacula-director.service
+++ b/roles/bacula-dir/files/etc/systemd/system/bacula-director.service
@@ -17,6 +17,11 @@ ProtectSystem=strict
ReadWriteDirectories=-/var/lib/bacula
ReadWriteDirectories=-/var/log/bacula
ReadWriteDirectories=-/var/run/bacula
+PrivateDevices=yes
+ProtectControlGroups=yes
+ProtectKernelModules=yes
+ProtectKernelTunables=yes
+RestrictAddressFamilies=AF_UNIX AF_INET AF_INET6
[Install]
WantedBy=multi-user.target