[pkg-bacula-commits] [bacula] 01/03: Customize systemd units, add Documentation key

Sven Hartge hartge-guest at moszumanska.debian.org
Thu Nov 9 17:53:00 UTC 2017


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

hartge-guest pushed a commit to branch master
in repository bacula.

commit 8deef4ccb100c8e00b5fc1b5e8269066851e7cc3
Author: Sven Hartge <sven at svenhartge.de>
Date:   Thu Nov 9 18:43:21 2017 +0100

    Customize systemd units, add Documentation key
    
    Fix lintian warning systemd-service-file-missing-documentation-key
---
 ....patch => debian-customize-systemd-units.patch} | 25 ++++++++++++++++++----
 debian/patches/series                              |  2 +-
 2 files changed, 22 insertions(+), 5 deletions(-)

diff --git a/debian/patches/non-forking-systemd-units.patch b/debian/patches/debian-customize-systemd-units.patch
similarity index 80%
rename from debian/patches/non-forking-systemd-units.patch
rename to debian/patches/debian-customize-systemd-units.patch
index 388e784..ba7bf58 100644
--- a/debian/patches/non-forking-systemd-units.patch
+++ b/debian/patches/debian-customize-systemd-units.patch
@@ -3,7 +3,7 @@ Author: Sven Hartge <sven at svenhartge.de>
 
 --- a/platforms/systemd/bacula-dir.service.in
 +++ b/platforms/systemd/bacula-dir.service.in
-@@ -3,13 +3,13 @@
+@@ -3,32 +3,38 @@
  # Copyright (C) 2000-2017 Kern Sibbald
  # License: BSD 2-Clause; see file LICENSE-FOSS
  #
@@ -21,9 +21,10 @@ Author: Sven Hartge <sven at svenhartge.de>
  #
  #
  
-@@ -17,18 +17,23 @@
+ # From http://www.freedesktop.org/software/systemd/man/systemd.unit.html
  [Unit]
  Description=Bacula Director Daemon service
++Documentation=man:bacula-dir(8)
  Requires=network.target
 -After=network.target multi-user.target
 +After=network.target multi-user.target postgresql.service mysql.service
@@ -52,7 +53,15 @@ Author: Sven Hartge <sven at svenhartge.de>
  WantedBy=multi-user.target
 --- a/platforms/systemd/bacula-fd.service.in
 +++ b/platforms/systemd/bacula-fd.service.in
-@@ -23,10 +23,17 @@
+@@ -16,6 +16,7 @@
+ # from http://www.freedesktop.org/software/systemd/man/systemd.unit.html
+ [Unit]
+ Description=Bacula File Daemon service
++Documentation=man:bacula-fd(8)
+ Requires=network.target
+ After=network.target
+ RequiresMountsFor=@working_dir@ @sysconfdir@ @sbindir@
+@@ -23,10 +24,17 @@
  # from http://www.freedesktop.org/software/systemd/man/systemd.service.html
  [Service]
  Type=simple
@@ -75,7 +84,15 @@ Author: Sven Hartge <sven at svenhartge.de>
  WantedBy=multi-user.target
 --- a/platforms/systemd/bacula-sd.service.in
 +++ b/platforms/systemd/bacula-sd.service.in
-@@ -22,11 +22,18 @@
+@@ -15,6 +15,7 @@
+ # from http://www.freedesktop.org/software/systemd/man/systemd.unit.html
+ [Unit]
+ Description=Bacula Storage Daemon service
++Documentation=man:bacula-sd(8)
+ Requires=network.target
+ After=network.target
+ RequiresMountsFor=@working_dir@ @sysconfdir@ @sbindir@
+@@ -22,11 +23,18 @@
  # from http://www.freedesktop.org/software/systemd/man/systemd.service.html
  [Service]
  Type=simple
diff --git a/debian/patches/series b/debian/patches/series
index ec9b645..e3a696e 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -7,7 +7,7 @@ debian-remove-upstream-autoconf-log.patch
 debian-fix-libbaccats-rpath.patch
 debian-fix-paths-examples-devices.patch
 debian-enable-hardening-for-bat.patch
-non-forking-systemd-units.patch
+debian-customize-systemd-units.patch
 #upstream-fix-baculabackupreport-defaults.patch
 #debian-fix-baculabackupreport-defaults.patch
 upstream-fix-update_sqlite3_tables.patch

-- 
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