commit-gnue
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[gnue] r9776 - trunk/gnue-appserver/packaging/debian


From: reinhard
Subject: [gnue] r9776 - trunk/gnue-appserver/packaging/debian
Date: Mon, 6 Aug 2007 10:55:04 -0500 (CDT)

Author: reinhard
Date: 2007-08-06 10:55:03 -0500 (Mon, 06 Aug 2007)
New Revision: 9776

Modified:
   trunk/gnue-appserver/packaging/debian/gnue-appserver.init
Log:
Fixed Debian packaging to allow uninstall for unconfigured appserver (no
connections.conf, so appserver doesn't start) in the case where VERBOSE=no in
init configuration.


Modified: trunk/gnue-appserver/packaging/debian/gnue-appserver.init
===================================================================
--- trunk/gnue-appserver/packaging/debian/gnue-appserver.init   2007-08-06 
15:26:36 UTC (rev 9775)
+++ trunk/gnue-appserver/packaging/debian/gnue-appserver.init   2007-08-06 
15:55:03 UTC (rev 9776)
@@ -75,16 +75,16 @@
        [ "$VERBOSE" != no ] && log_daemon_msg "Starting $DESC" "$NAME"
        do_start
        case "$?" in
-               0|1) [ "$VERBOSE" != no ] && log_end_msg 0 ;;
-               2) [ "$VERBOSE" != no ] && log_end_msg 1 ;;
+               0|1) [ "$VERBOSE" != no ] && log_end_msg 0 || exit 0;;
+               2) [ "$VERBOSE" != no ] && log_end_msg 1 || exit 1;;
        esac
        ;;
   stop)
        [ "$VERBOSE" != no ] && log_daemon_msg "Stopping $DESC" "$NAME"
        do_stop
        case "$?" in
-               0|1) [ "$VERBOSE" != no ] && log_end_msg 0 ;;
-               2) [ "$VERBOSE" != no ] && log_end_msg 1 ;;
+               0|1) [ "$VERBOSE" != no ] && log_end_msg 0 || exit 0;;
+               2) [ "$VERBOSE" != no ] && log_end_msg 1 || exit 1;;
        esac
        ;;
   reload|force-reload)





reply via email to

[Prev in Thread] Current Thread [Next in Thread]