]> git.sur5r.net Git - bacula/bacula/commitdiff
Don't require mount for @piddir@
authorSven Hartge <sven@svenhartge.de>
Tue, 31 Oct 2017 12:17:54 +0000 (13:17 +0100)
committerKern Sibbald <kern@sibbald.com>
Tue, 31 Oct 2017 12:26:23 +0000 (13:26 +0100)
The systemd units don't use PID files and the daemons don't write them.
Remove the RequiresMount option for them to unclutter the units.

Signed-off-by: Sven Hartge <sven@svenhartge.de>
bacula/platforms/systemd/bacula-dir.service.in
bacula/platforms/systemd/bacula-fd.service.in
bacula/platforms/systemd/bacula-sd.service.in

index 1f26a4a297b041222bcd5cbaf6417090413cd979..e8d39b0abc7748e4698ac85a72989d069d051ff9 100644 (file)
@@ -18,7 +18,7 @@
 Description=Bacula Director Daemon service
 Requires=network.target
 After=network.target multi-user.target
-RequiresMountsFor=@working_dir@ @sysconfdir@ @sbindir@ @piddir@
+RequiresMountsFor=@working_dir@ @sysconfdir@ @sbindir@
 
 # From http://www.freedesktop.org/software/systemd/man/systemd.service.html
 [Service]
index f283a95948ab905c9082ecf4421e5320fca5acbd..48ca58e58f618d9e9bc45db10b748b8fc57f4833 100644 (file)
@@ -18,7 +18,7 @@
 Description=Bacula File Daemon service
 Requires=network.target
 After=network.target
-RequiresMountsFor=@working_dir@ @sysconfdir@ @sbindir@ @piddir@
+RequiresMountsFor=@working_dir@ @sysconfdir@ @sbindir@
 
 # from http://www.freedesktop.org/software/systemd/man/systemd.service.html
 [Service]
index 839605cd3fb7384cbd3f2c03d010ad90993d9a5f..ba15a66404e8cb7b1d90b29a9014e06d0fc48f6c 100644 (file)
@@ -17,7 +17,7 @@
 Description=Bacula Storage Daemon service
 Requires=network.target
 After=network.target
-RequiresMountsFor=@working_dir@ @sysconfdir@ @sbindir@ @piddir@
+RequiresMountsFor=@working_dir@ @sysconfdir@ @sbindir@
 
 # from http://www.freedesktop.org/software/systemd/man/systemd.service.html
 [Service]