From: Sven Hartge Date: Tue, 31 Oct 2017 12:17:54 +0000 (+0100) Subject: Don't require mount for @piddir@ X-Git-Tag: Release-9.0.5~18 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e2cd6582accc4938d56859d836b77df83d0c3fca;p=thirdparty%2Fbacula.git Don't require mount for @piddir@ 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 --- diff --git a/bacula/platforms/systemd/bacula-dir.service.in b/bacula/platforms/systemd/bacula-dir.service.in index 1f26a4a29..e8d39b0ab 100644 --- a/bacula/platforms/systemd/bacula-dir.service.in +++ b/bacula/platforms/systemd/bacula-dir.service.in @@ -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] diff --git a/bacula/platforms/systemd/bacula-fd.service.in b/bacula/platforms/systemd/bacula-fd.service.in index f283a9594..48ca58e58 100644 --- a/bacula/platforms/systemd/bacula-fd.service.in +++ b/bacula/platforms/systemd/bacula-fd.service.in @@ -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] diff --git a/bacula/platforms/systemd/bacula-sd.service.in b/bacula/platforms/systemd/bacula-sd.service.in index 839605cd3..ba15a6640 100644 --- a/bacula/platforms/systemd/bacula-sd.service.in +++ b/bacula/platforms/systemd/bacula-sd.service.in @@ -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]