[Pkg-nagios-changes] [pkg-nsca] 08/25: Align paths in install files and init script.

Bas Couwenberg sebastic at debian.org
Mon Dec 5 07:08:06 UTC 2016


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

sebastic pushed a commit to branch master
in repository pkg-nsca.

commit 6c3c5352171e6fac169513882e3b1f84a858996f
Author: Bas Couwenberg <sebastic at xs4all.nl>
Date:   Sun Dec 4 20:54:33 2016 +0100

    Align paths in install files and init script.
---
 debian/nsca-client.install |  2 +-
 debian/nsca.init           | 14 +++++++-------
 debian/nsca.install        |  4 ++--
 3 files changed, 10 insertions(+), 10 deletions(-)

diff --git a/debian/nsca-client.install b/debian/nsca-client.install
index b8f78eb..154920c 100644
--- a/debian/nsca-client.install
+++ b/debian/nsca-client.install
@@ -1,2 +1,2 @@
-src/send_nsca usr/sbin
 sample-config/send_nsca.cfg etc
+src/send_nsca               usr/sbin
diff --git a/debian/nsca.init b/debian/nsca.init
index e61caeb..2ea5833 100644
--- a/debian/nsca.init
+++ b/debian/nsca.init
@@ -39,7 +39,7 @@ fi
 PIDFILE="$(confget -f $CONF pid_file)"
 # if pidfile isn't set
 if [ -z "$PIDFILE" ];  then
-	# then this is the default PIDFILE
+    # then this is the default PIDFILE
     log_failure_msg "Please set pid_file in /etc/nsca.conf"
     exit 1
 fi
@@ -50,23 +50,23 @@ fi
 
 case "$1" in
 start)
-	log_daemon_msg "Starting $DESC" "$NAME"
-	start_daemon -p $PIDFILE $DAEMON $OPTS
+    log_daemon_msg "Starting $DESC" "$NAME"
+    start_daemon -p $PIDFILE $DAEMON $OPTS
     log_end_msg $?
 ;;
 stop)
-	log_daemon_msg "Stopping $DESC" "$NAME"
+    log_daemon_msg "Stopping $DESC" "$NAME"
     start-stop-daemon --stop --quiet --oknodo --pidfile $PIDFILE
     log_end_msg $?
 ;;
 reload|force-reload)
     log_daemon_msg "Reloading $DESC configuration files" "$NAME"
     start-stop-daemon --stop --signal HUP --quiet --pidfile $PIDFILE
-	log_end_msg $?
+    log_end_msg $?
 ;;
 restart)
-	$0 stop
-	$0 start
+    $0 stop
+    $0 start
 ;;
 status)
     status_of_proc -p $PIDFILE $DAEMON $NAME
diff --git a/debian/nsca.install b/debian/nsca.install
index 019ba68..4917fe1 100644
--- a/debian/nsca.install
+++ b/debian/nsca.install
@@ -1,3 +1,3 @@
-src/nsca usr/sbin
-sample-config/nsca.cfg etc
+sample-config/nsca.cfg        etc
+src/nsca                      usr/sbin
 debian/lintian/overrides/nsca usr/share/lintian/overrides

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



More information about the Pkg-nagios-changes mailing list