summaryrefslogtreecommitdiffstats
path: root/roles/bacula-dir/files/etc/systemd
diff options
context:
space:
mode:
Diffstat (limited to 'roles/bacula-dir/files/etc/systemd')
-rw-r--r--roles/bacula-dir/files/etc/systemd/system/bacula-director.service5
1 files changed, 2 insertions, 3 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 2c09f61..ba943ce 100644
--- a/roles/bacula-dir/files/etc/systemd/system/bacula-director.service
+++ b/roles/bacula-dir/files/etc/systemd/system/bacula-director.service
@@ -3,12 +3,11 @@ Description=Bacula Director service
After=network.target
[Service]
-Type=forking
-PIDFile=/var/run/bacula/bacula-dir.9101.pid
+Type=simple
StandardOutput=syslog
User=bacula
Group=bacula
-ExecStart=/usr/sbin/bacula-dir -c /etc/bacula/bacula-dir.conf
+ExecStart=/usr/sbin/bacula-dir -f -c /etc/bacula/bacula-dir.conf
# Hardening
NoNewPrivileges=yes