From a9eb6b1105cd47f00ae45dacda9af8e829ade191 Mon Sep 17 00:00:00 2001
From: James Moger <james.moger@gitblit.com>
Date: Wed, 11 Apr 2012 09:04:42 -0400
Subject: [PATCH] Reset build identifiers for the next release

---
 distrib/gitblit-centos |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diff --git a/distrib/gitblit-centos b/distrib/gitblit-centos
index db2fdef..c9fe151 100644
--- a/distrib/gitblit-centos
+++ b/distrib/gitblit-centos
@@ -1,5 +1,6 @@
 #!/bin/bash
 # chkconfig: 3 21 91
+# description: Starts and Stops gitblit
 # Source function library.
 . /etc/init.d/functions
 
@@ -16,6 +17,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 +27,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