[Debian-ha-commits] [corosync] 12/14: Patch upstream corosync-notifyd.service file.

Adrian Vondendriesch discostu-guest at moszumanska.debian.org
Wed Apr 29 21:55:44 UTC 2015


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

discostu-guest pushed a commit to branch master
in repository corosync.

commit 9acfb14bc6456df685140660d988f4e07ab37b27
Author: Adrian Vondendriesch <adrian.vondendriesch at credativ.de>
Date:   Wed Apr 29 23:18:35 2015 +0200

    Patch upstream corosync-notifyd.service file.
    
    Signed-off-by: Adrian Vondendriesch <adrian.vondendriesch at credativ.de>
---
 debian/changelog                                            |  1 +
 ...12-Debianize-corosync-notifyd-systemd-service-file.patch | 13 +++++++++++++
 debian/patches/series                                       |  1 +
 3 files changed, 15 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index be3aa42..ec8758b 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -76,6 +76,7 @@ corosync (2.3.4-1) UNRELEASED; urgency=medium
     documentation.
   * Add myself to Uploaders.
   * Install upstream systemd service files for corsync and corosync-notifyd.
+  * debian/patches: patch upstream corosync-notifyd.service file.
 
  -- Richard B Winters <rik at mmogp.com>  Wed, 22 Apr 2015 15:51:34 -0400
 
diff --git a/debian/patches/0012-Debianize-corosync-notifyd-systemd-service-file.patch b/debian/patches/0012-Debianize-corosync-notifyd-systemd-service-file.patch
new file mode 100644
index 0000000..486ebdc
--- /dev/null
+++ b/debian/patches/0012-Debianize-corosync-notifyd-systemd-service-file.patch
@@ -0,0 +1,13 @@
+Use /etc/default/corosync-notifyd as environment files instead of
+/etc/sysconfig/corosync-notifyd in corosync-notifyd.service file.
+--- a/init/corosync-notifyd.service.in
++++ b/init/corosync-notifyd.service.in
+@@ -4,7 +4,7 @@
+ After=corosync.service
+ 
+ [Service]
+-EnvironmentFile=@SYSCONFDIR@/sysconfig/corosync-notifyd
++EnvironmentFile=@SYSCONFDIR@/default/corosync-notifyd
+ ExecStart=@SBINDIR@/corosync-notifyd -f $OPTIONS
+ Type=simple
+ Restart=on-failure
diff --git a/debian/patches/series b/debian/patches/series
index 221fb16..233bf76 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,3 +1,4 @@
+0012-Debianize-corosync-notifyd-systemd-service-file.patch
 0001-Add-missing-ChangeLog-to-source-directory.patch
 0002-Fix-incorrect-spelling-of-retrieve-from-retreive.patch
 0003-Add-section-in-manual-title-for-cpg_zcb_alloc-3.patch

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



More information about the Debian-HA-Commits mailing list