From e2cd6582accc4938d56859d836b77df83d0c3fca Mon Sep 17 00:00:00 2001 From: Sven Hartge Date: Tue, 31 Oct 2017 13:17:54 +0100 Subject: [PATCH] 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 --- bacula/platforms/systemd/bacula-dir.service.in | 2 +- bacula/platforms/systemd/bacula-fd.service.in | 2 +- bacula/platforms/systemd/bacula-sd.service.in | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/bacula/platforms/systemd/bacula-dir.service.in b/bacula/platforms/systemd/bacula-dir.service.in index 1f26a4a297..e8d39b0abc 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 f283a95948..48ca58e58f 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 839605cd3f..ba15a66404 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] -- 2.39.5