summaryrefslogtreecommitdiffstats
path: root/roles/bacula-dir/files/etc/systemd/system/bacula-director.service
diff options
context:
space:
mode:
Diffstat (limited to 'roles/bacula-dir/files/etc/systemd/system/bacula-director.service')
-rw-r--r--roles/bacula-dir/files/etc/systemd/system/bacula-director.service27
1 files changed, 0 insertions, 27 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
deleted file mode 100644
index 8b2f5ff..0000000
--- a/roles/bacula-dir/files/etc/systemd/system/bacula-director.service
+++ /dev/null
@@ -1,27 +0,0 @@
-[Unit]
-Description=Bacula Director service
-After=network.target
-
-[Service]
-Type=simple
-StandardOutput=syslog
-User=bacula
-Group=bacula
-ExecStart=/usr/sbin/bacula-dir -f -c /etc/bacula/bacula-dir.conf
-
-# Hardening
-NoNewPrivileges=yes
-PrivateDevices=yes
-ProtectHome=yes
-ProtectSystem=strict
-ReadWriteDirectories=-/var/lib/bacula
-ReadWriteDirectories=-/var/log/bacula
-RuntimeDirectory=bacula
-PrivateDevices=yes
-ProtectControlGroups=yes
-ProtectKernelModules=yes
-ProtectKernelTunables=yes
-RestrictAddressFamilies=AF_UNIX AF_INET AF_INET6
-
-[Install]
-WantedBy=multi-user.target