prometheanfire    15/01/13 04:42:58

  Modified:             icinga2.initd
  Removed:              icinga2-2.2.1-create_var_cache.patch
                        icinga2-2.1.0-create_var_cache.patch
  Log:
  updating ebuild and fixing init file
  
  (Portage version: 2.2.14/cvs/Linux x86_64, signed Manifest commit with key 
0x33ED3FD25AFC78BA)

Revision  Changes    Path
1.5                  net-analyzer/icinga2/files/icinga2.initd

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/icinga2/files/icinga2.initd?rev=1.5&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/icinga2/files/icinga2.initd?rev=1.5&content-type=text/plain
diff : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/icinga2/files/icinga2.initd?r1=1.4&r2=1.5

Index: icinga2.initd
===================================================================
RCS file: /var/cvsroot/gentoo-x86/net-analyzer/icinga2/files/icinga2.initd,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- icinga2.initd       14 Dec 2014 23:33:24 -0000      1.4
+++ icinga2.initd       13 Jan 2015 04:42:58 -0000      1.5
@@ -1,5 +1,5 @@
 #!/sbin/runscript
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2015 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 DAEMON="/usr/sbin/icinga2"
@@ -7,7 +7,7 @@
 ICINGA2_RUN_DIR="/run/icinga2"
 ICINGA2_STATE_DIR="/var/cache/icinga2"
 ICINGA2_CMD_DIR="${ICINGA2_RUN_DIR}/cmd"
-ICINGA2_PID_FILE="${ICINGA2_RUN_DIR}/icinga2/icinga2.pid"
+ICINGA2_PID_FILE="${ICINGA2_RUN_DIR}/icinga2.pid"
 ICINGA2_DAEMON_ARGS="daemon -c $ICINGA2_CONFIG_FILE -e $ICINGA2_ERROR_LOG -d"
 
 depend() {
@@ -64,14 +64,3 @@
         --progress
     eend $?
 }
-
-status() {
-    [ ! -f "$ICINGA2_PID_FILE" ] && return 1
-
-    if ps -p $(cat "$ICINGA2_PID_FILE") > /dev/null; then
-        eend 0
-    else
-        eend 1
-    fi
-}
-




Reply via email to