geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From xiam...@apache.org
Subject svn commit: r1296100 - /geronimo/server/branches/3.0-beta/framework/configs/karaf-framework/src/main/distribution/unix-shell/bin/register-service
Date Fri, 02 Mar 2012 09:34:09 GMT
Author: xiaming
Date: Fri Mar  2 09:34:09 2012
New Revision: 1296100

URL: http://svn.apache.org/viewvc?rev=1296100&view=rev
Log:
GERONIMO-6221 Redirect the output to /dev/null when stopping the server via service command

Modified:
    geronimo/server/branches/3.0-beta/framework/configs/karaf-framework/src/main/distribution/unix-shell/bin/register-service

Modified: geronimo/server/branches/3.0-beta/framework/configs/karaf-framework/src/main/distribution/unix-shell/bin/register-service
URL: http://svn.apache.org/viewvc/geronimo/server/branches/3.0-beta/framework/configs/karaf-framework/src/main/distribution/unix-shell/bin/register-service?rev=1296100&r1=1296099&r2=1296100&view=diff
==============================================================================
--- geronimo/server/branches/3.0-beta/framework/configs/karaf-framework/src/main/distribution/unix-shell/bin/register-service
(original)
+++ geronimo/server/branches/3.0-beta/framework/configs/karaf-framework/src/main/distribution/unix-shell/bin/register-service
Fri Mar  2 09:34:09 2012
@@ -158,7 +158,7 @@ echo "" >> "$GSERVICE_NAME"
 
 echo 'stop() {' >> "$GSERVICE_NAME"
 echo '  echo "Shutting down server on port ${RMI_PORT}"' >> "$GSERVICE_NAME"
-echo '  "$GERONIMO_HOME"/bin/geronimo stop --user "$ADMIN_USER" --password "$ADMIN_PASS"
--port "$RMI_PORT"' >> "$GSERVICE_NAME"
+echo '  "$GERONIMO_HOME"/bin/geronimo stop --user "$ADMIN_USER" --password "$ADMIN_PASS"
--port "$RMI_PORT" 2>&1 > /dev/null' >> "$GSERVICE_NAME"
 echo '}' >> "$GSERVICE_NAME"
 echo "" >> "$GSERVICE_NAME"
 



Mime
View raw message