SOURCES: service_generator.sh - more tests

glen glen at pld-linux.org
Thu Dec 1 02:49:35 CET 2005


Author: glen                         Date: Thu Dec  1 01:49:35 2005 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- more tests

---- Files affected:
SOURCES:
   service_generator.sh (1.1 -> 1.2) 

---- Diffs:

================================================================
Index: SOURCES/service_generator.sh
diff -u SOURCES/service_generator.sh:1.1 SOURCES/service_generator.sh:1.2
--- SOURCES/service_generator.sh:1.1	Thu Dec  1 02:33:29 2005
+++ SOURCES/service_generator.sh	Thu Dec  1 02:49:30 2005
@@ -44,7 +44,7 @@
 EOF
 }
 
-echo ""
+echo ''
 if [ "$check" = 1 ]; then
 	skip_auto_restart_body
 	echo 'if [ $(skip_auto_restart) = no ]; then'
@@ -67,3 +67,6 @@
 rpm -E '%service monit restart -q "Monit Daemon"' | sh
 rpm -E '%service monit reload "Monit Daemon"' | sh
 rpm -E '%service monit reload -q "Monit Daemon"' | sh
+rpm -E '%{service monit reload "Monit Daemon"} date' | sh
+rpm -E '%{service monit reload "Monit Daemon" -q} date' | sh
+
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SOURCES/service_generator.sh?r1=1.1&r2=1.2&f=u




More information about the pld-cvs-commit mailing list