From eb9318ef571fee34c6b94a4621f7a23d76e19125 Mon Sep 17 00:00:00 2001
From: James Moger <james.moger@gitblit.com>
Date: Fri, 28 Mar 2014 20:20:53 -0400
Subject: [PATCH] Enable the daily log for the Ubuntu and CentOS services (issue-348)
---
src/main/distrib/linux/service-centos.sh | 2 +-
src/main/distrib/linux/service-ubuntu.sh | 2 +-
releases.moxie | 3 ++-
3 files changed, 4 insertions(+), 3 deletions(-)
diff --git a/releases.moxie b/releases.moxie
index 6227ce5..11d2a41 100644
--- a/releases.moxie
+++ b/releases.moxie
@@ -14,7 +14,8 @@
- 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 b6170c5..843f015 100644
--- a/src/main/distrib/linux/service-centos.sh
+++ b/src/main/distrib/linux/service-centos.sh
@@ -21,7 +21,7 @@
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 f21ec2a..769e307 100644
--- a/src/main/distrib/linux/service-ubuntu.sh
+++ b/src/main/distrib/linux/service-ubuntu.sh
@@ -19,7 +19,7 @@
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
--
Gitblit v1.9.1