[Pkg-nagios-changes] [pkg-icinga2] 01/04: Remove obsolte logrotate_use_service patch

Alexander Wirt formorer at debian.org
Mon Apr 20 11:23:29 UTC 2015


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

formorer pushed a commit to branch master
in repository pkg-icinga2.

commit 2a5d1cbbf2b6e522942dde53488c610168dea025
Author: Alexander Wirt <formorer at debian.org>
Date:   Mon Apr 20 11:42:19 2015 +0200

    Remove obsolte logrotate_use_service patch
---
 debian/patches/logrotate_use_service | 16 ----------------
 debian/patches/series                |  1 -
 2 files changed, 17 deletions(-)

diff --git a/debian/patches/logrotate_use_service b/debian/patches/logrotate_use_service
deleted file mode 100644
index 9d206c9..0000000
--- a/debian/patches/logrotate_use_service
+++ /dev/null
@@ -1,16 +0,0 @@
---- a/etc/logrotate.d/icinga2.cmake
-+++ b/etc/logrotate.d/icinga2.cmake
-@@ -9,8 +9,11 @@
-        	create 644 @ICINGA2_USER@ @ICINGA2_GROUP@
- 	copytruncate
- 	postrotate
--		if ! killall -q -USR1 icinga2; then
--			exit 1
-+        if service icinga2 status > /dev/null; then
-+            if [ -e @ICINGA2_RUNDIR@/icinga2/icinga2.pid ]
-+            then
-+                kill -USR1 $(cat @ICINGA2_RUNDIR@/icinga2/icinga2.pid)
-+            fi
- 		fi
-        	endscript
- }
diff --git a/debian/patches/series b/debian/patches/series
index d7dc1ab..e1c16fd 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,2 +1 @@
-logrotate_use_service
 21_config_changes

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-nagios/pkg-icinga2.git



More information about the Pkg-nagios-changes mailing list