Signed-off-by: Marco van Wieringen <mvw@planets.elm.net>
[Service]
Type=forking
-PIDFile=@piddir@/bacula-dir.pid
+PIDFile=@piddir@/bacula-dir.@dir_port@.pid
# EnvironmentFile=-/etc/sysconfig/bacula-dir
StandardOutput=syslog
ExecStart=@sbindir@/bacula-dir -u @dir_user@ -g @dir_group@ -c @sysconfdir@/bacula-dir.conf
[Service]
Type=forking
-PIDFile=@piddir@/bacula-fd.pid
+PIDFile=@piddir@/bacula-fd.@fd_port@.pid
StandardOutput=syslog
ExecStart=@sbindir@/bacula-fd -u @fd_user@ -g @fd_group@ -c @sysconfdir@/bacula-fd.conf
[Service]
Type=forking
-PIDFile=@piddir@/bacula-sd.pid
+PIDFile=@piddir@/bacula-sd.@sd_port@.pid
# EnvironmentFile=-/etc/sysconfig/bacula-sd
StandardOutput=syslog
ExecStart=@sbindir@/bacula-sd -u @sd_user@ -g @sd_group@ -c @sysconfdir@/bacula-sd.conf