[pkg-bacula-commits] [bacula] 04/04: Change systemd units to use new -P option to avoid creating PID files

Sven Hartge hartge-guest at moszumanska.debian.org
Sat Oct 28 14:11:15 UTC 2017


This is an automated email from the git hooks/post-receive script.

hartge-guest pushed a commit to branch no-foreground-pidfile
in repository bacula.

commit 34a0ce372fe975f1262f2f60288eab53ed86ed7e
Author: Sven Hartge <sven at svenhartge.de>
Date:   Sat Oct 28 16:10:53 2017 +0200

    Change systemd units to use new -P option to avoid creating PID files
---
 debian/patches/non-forking-systemd-units.patch | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/debian/patches/non-forking-systemd-units.patch b/debian/patches/non-forking-systemd-units.patch
index 5564266..4edfb59 100644
--- a/debian/patches/non-forking-systemd-units.patch
+++ b/debian/patches/non-forking-systemd-units.patch
@@ -43,7 +43,7 @@ Author: Sven Hartge <sven at svenhartge.de>
 +Environment="CONFIG=/etc/bacula/bacula-dir.conf"
 +EnvironmentFile=-/etc/default/bacula-dir
 +ExecStartPre=@sbindir@/bacula-dir -t -c $CONFIG
-+ExecStart=@sbindir@/bacula-dir -f -c $CONFIG
++ExecStart=@sbindir@/bacula-dir -fP -c $CONFIG
 +ExecReload=@sbindir@/bacula-dir -t -c $CONFIG
  ExecReload=/bin/kill -HUP $MAINPID
 +SuccessExitStatus=15
@@ -70,7 +70,7 @@ Author: Sven Hartge <sven at svenhartge.de>
 +Environment="CONFIG=/etc/bacula/bacula-fd.conf"
 +EnvironmentFile=-/etc/default/bacula-fd
 +ExecStartPre=@sbindir@/bacula-fd -t -c $CONFIG
-+ExecStart=@sbindir@/bacula-fd -f -c $CONFIG
++ExecStart=@sbindir@/bacula-fd -fP -c $CONFIG
 +ExecReload=/bin/kill -HUP $MAINPID
 +SuccessExitStatus=15
  StandardError=syslog
@@ -96,7 +96,7 @@ Author: Sven Hartge <sven at svenhartge.de>
 +Environment="CONFIG=/etc/bacula/bacula-sd.conf"
 +EnvironmentFile=-/etc/default/bacula-sd
 +ExecStartPre=@sbindir@/bacula-sd -t -c $CONFIG
-+ExecStart=@sbindir@/bacula-sd -f -c $CONFIG
++ExecStart=@sbindir@/bacula-sd -fP -c $CONFIG
 +ExecReload=/bin/kill -HUP $MAINPID
 +SuccessExitStatus=15
  StandardError=syslog

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-bacula/bacula.git



More information about the pkg-bacula-commits mailing list