diff options
author | Florian Zschocke <f.zschocke+git@gmail.com> | 2020-04-05 13:07:25 +0200 |
---|---|---|
committer | Florian Zschocke <f.zschocke+git@gmail.com> | 2020-04-05 13:07:25 +0200 |
commit | a93cd37bc60b4f311692e0e9c6b0ddf320eb5c29 (patch) | |
tree | f48a9a963233f1f23d4e77e9ba9e908ea5bb6472 /src/main/distrib/linux/service-centos.sh | |
parent | 08666d065be34a227a9b5bb16810280d8ee39178 (diff) | |
parent | 34e77ddf09e58ea0a817d31ed74a6bce574bff97 (diff) | |
download | gitblit-292edf11122e5ad7994f70065439fd87b052aff5.tar.gz gitblit-292edf11122e5ad7994f70065439fd87b052aff5.zip |
Merge branch 'master' into releaser1.9.1
Diffstat (limited to 'src/main/distrib/linux/service-centos.sh')
-rw-r--r-- | src/main/distrib/linux/service-centos.sh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/main/distrib/linux/service-centos.sh b/src/main/distrib/linux/service-centos.sh index 843f015a..a2645e7e 100644 --- a/src/main/distrib/linux/service-centos.sh +++ b/src/main/distrib/linux/service-centos.sh @@ -11,7 +11,7 @@ GITBLIT_HTTP_PORT=0 GITBLIT_HTTPS_PORT=8443 GITBLIT_LOG=/var/log/gitblit.log source ${GITBLIT_PATH}/java-proxy-config.sh -JAVA="java -server -Xmx1024M ${JAVA_PROXY_CONFIG} -Djava.awt.headless=true -jar" +JAVA="java -server -Xmx1024M ${JAVA_PROXY_CONFIG} -Djava.awt.headless=true -cp" RETVAL=0 @@ -21,7 +21,7 @@ case "$1" in then echo $"Starting gitblit server" cd $GITBLIT_PATH - $JAVA $GITBLIT_PATH/gitblit.jar --httpsPort $GITBLIT_HTTPS_PORT --httpPort $GITBLIT_HTTP_PORT --baseFolder $GITBLIT_BASE_FOLDER --dailyLogFile & + $JAVA "$GITBLIT_PATH/gitblit.jar:$GITBLIT_PATH/ext/*" com.gitblit.GitBlitServer --httpsPort $GITBLIT_HTTPS_PORT --httpPort $GITBLIT_HTTP_PORT --baseFolder $GITBLIT_BASE_FOLDER --dailyLogFile & echo "." exit $RETVAL fi @@ -32,7 +32,7 @@ case "$1" in then echo $"Stopping gitblit server" cd $GITBLIT_PATH - $JAVA $GITBLIT_PATH/gitblit.jar --baseFolder $GITBLIT_BASE_FOLDER --stop > /dev/null & + $JAVA "$GITBLIT_PATH/gitblit.jar:$GITBLIT_PATH/ext/*" com.gitblit.GitBlitServer --baseFolder $GITBLIT_BASE_FOLDER --stop > /dev/null & echo "." exit $RETVAL fi |