SOURCES: nagios.init - Nice Caps
glen
glen at pld-linux.org
Mon Oct 30 11:49:23 CET 2006
Author: glen Date: Mon Oct 30 10:49:23 2006 GMT
Module: SOURCES Tag: HEAD
---- Log message:
- Nice Caps
---- Files affected:
SOURCES:
nagios.init (1.16 -> 1.17)
---- Diffs:
================================================================
Index: SOURCES/nagios.init
diff -u SOURCES/nagios.init:1.16 SOURCES/nagios.init:1.17
--- SOURCES/nagios.init:1.16 Tue May 30 13:40:40 2006
+++ SOURCES/nagios.init Mon Oct 30 11:49:17 2006
@@ -1,6 +1,6 @@
#!/bin/sh
#
-# nagios Host/service/network monitoring daemon
+# Nagios Host/service/network monitoring daemon
#
# chkconfig: 345 85 24
# description: Host/service/network monitoring daemon which uses snort as NIDS
@@ -18,7 +18,7 @@
# Check that networking is up.
if is_yes "${NETWORKING}"; then
if [ ! -f /var/lock/subsys/network -a "$1" != stop -a "$1" != status ]; then
- msg_network_down nagios
+ msg_network_down Nagios
exit 1
fi
else
@@ -41,7 +41,7 @@
start)
# Check if the service is already running?
if [ ! -f /var/lock/subsys/nagios ]; then
- msg_starting nagios
+ msg_starting Nagios
checkconfig || exit
# remove stale cmd pipe (or nagios won't start if it exists)
@@ -52,17 +52,17 @@
touch /var/lock/subsys/nagios
fi
else
- msg_already_running nagios
+ msg_already_running Nagios
fi
;;
stop)
# Stop daemons.
if [ -f /var/lock/subsys/nagios ]; then
- msg_stopping nagios
+ msg_stopping Nagios
killproc nagios -TERM
rm -f /var/lock/subsys/nagios > /dev/null 2>&1
else
- msg_not_running nagios
+ msg_not_running Nagios
fi
;;
status)
@@ -75,18 +75,18 @@
;;
reload|force-reload)
if [ -f /var/lock/subsys/nagios ]; then
- msg_reloading nagios
+ msg_reloading Nagios
checkconfig || exit
killproc nagios -HUP
RETVAL=$?
else
- msg_not_running nagios
+ msg_not_running Nagios
exit 7
fi
;;
restart)
- msg_reloading nagios
+ msg_reloading Nagios
checkconfig || exit && started
$0 stop
$0 start
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SOURCES/nagios.init?r1=1.16&r2=1.17&f=u
More information about the pld-cvs-commit
mailing list