From a71c5a27e3768cb68b979eac6ec8c7d7612dec8f Mon Sep 17 00:00:00 2001 From: James Moger <james.moger@gitblit.com> Date: Thu, 02 Feb 2012 17:14:43 -0500 Subject: [PATCH] Adjustments to init scripts --- distrib/gitblit-centos | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/distrib/gitblit-centos b/distrib/gitblit-centos index db2fdef..387d1fb 100644 --- a/distrib/gitblit-centos +++ b/distrib/gitblit-centos @@ -16,6 +16,7 @@ if [ -f $GITBLIT_PATH/gitblit.jar ]; then echo $"Starting gitblit server" + cd $GITBLIT_PATH $JAVA $GITBLIT_PATH/gitblit.jar --httpsPort $GITBLIT_HTTPS_PORT --httpPort $GITBLIT_HTTP_PORT > /dev/null & echo "." exit $RETVAL @@ -25,7 +26,8 @@ stop) if [ -f $GITBLIT_PATH/gitblit.jar ]; then - echo $"Starting gitblit server" + echo $"Stopping gitblit server" + cd $GITBLIT_PATH $JAVA $GITBLIT_PATH/gitblit.jar --stop > /dev/null & echo "." exit $RETVAL -- Gitblit v1.9.1