diff options
author | James Moger <james.moger@gitblit.com> | 2014-03-28 20:20:53 -0400 |
---|---|---|
committer | James Moger <james.moger@gitblit.com> | 2014-03-28 20:20:53 -0400 |
commit | eb9318ef571fee34c6b94a4621f7a23d76e19125 (patch) | |
tree | a247df23609075784c4bbbd8d0cddaf38c44c09a | |
parent | ee4ef4efef65c834f722381c012928df602ceff3 (diff) | |
download | gitblit-eb9318ef571fee34c6b94a4621f7a23d76e19125.tar.gz gitblit-eb9318ef571fee34c6b94a4621f7a23d76e19125.zip |
Enable the daily log for the Ubuntu and CentOS services (issue-348)
-rw-r--r-- | releases.moxie | 3 | ||||
-rw-r--r-- | src/main/distrib/linux/service-centos.sh | 2 | ||||
-rw-r--r-- | src/main/distrib/linux/service-ubuntu.sh | 2 |
3 files changed, 4 insertions, 3 deletions
diff --git a/releases.moxie b/releases.moxie index 6227ce5b..11d2a412 100644 --- a/releases.moxie +++ b/releases.moxie @@ -14,7 +14,8 @@ r22: { - Fix closing ticket on push by parsing commit messages for closes|fixes (issue-404) - Ensure the Lucene ticket index is updated on repository deletion. changes: - - Option to allow LDAP users to directly authenticate without performing LDAP searches (pr-162)) + - Specify the --dailyLogFile option for the Ubuntu and CentOS service scripts (issue-348) + - Option to allow LDAP users to directly authenticate without performing LDAP searches (pr-162) - Replace JCommander with args4j to be consistent with other tools (ticket-28) additions: - Added a French translation (pr-163) diff --git a/src/main/distrib/linux/service-centos.sh b/src/main/distrib/linux/service-centos.sh index b6170c5e..843f015a 100644 --- a/src/main/distrib/linux/service-centos.sh +++ b/src/main/distrib/linux/service-centos.sh @@ -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 > $GITBLIT_LOG 2>&1 & + $JAVA $GITBLIT_PATH/gitblit.jar --httpsPort $GITBLIT_HTTPS_PORT --httpPort $GITBLIT_HTTP_PORT --baseFolder $GITBLIT_BASE_FOLDER --dailyLogFile & echo "." exit $RETVAL fi diff --git a/src/main/distrib/linux/service-ubuntu.sh b/src/main/distrib/linux/service-ubuntu.sh index f21ec2a1..769e3072 100644 --- a/src/main/distrib/linux/service-ubuntu.sh +++ b/src/main/distrib/linux/service-ubuntu.sh @@ -19,7 +19,7 @@ GITBLIT_PATH=/opt/gitblit GITBLIT_BASE_FOLDER=/opt/gitblit/data GITBLIT_USER="gitblit" source ${GITBLIT_PATH}/java-proxy-config.sh -ARGS="-server -Xmx1024M ${JAVA_PROXY_CONFIG} -Djava.awt.headless=true -jar gitblit.jar --baseFolder $GITBLIT_BASE_FOLDER" +ARGS="-server -Xmx1024M ${JAVA_PROXY_CONFIG} -Djava.awt.headless=true -jar gitblit.jar --baseFolder $GITBLIT_BASE_FOLDER --dailyLogFile" RETVAL=0 |