fixed logging
This commit is contained in:
parent
026f93f855
commit
ab4fe13f4e
3 changed files with 4 additions and 3 deletions
|
@ -8,3 +8,4 @@ GIT_REPO_PATH=/var/lib/git/repositories
|
|||
|
||||
RUNAS_USER=git
|
||||
RUNAS_GROUP=${RUNAS_USER}
|
||||
LOGFILE=/var/log/gitlab/gitlab-git-http-server.log
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
start() {
|
||||
ebegin "Starting gitlab-git-http-server"
|
||||
start-stop-daemon --start --exec /usr/bin/gitlab-git-http-server --pidfile /run/gitlab-git-http-server.pid \
|
||||
--make-pidfile --background --user ${RUNAS_USER}:${RUNAS_GROUP} \
|
||||
--make-pidfile --background --user ${RUNAS_USER}:${RUNAS_GROUP} --stdout "${LOGFILE}" --stderr "${LOGFILE}"\
|
||||
-- -authBackend=${AUTH_BACKEND} -listenAddr=${LISTEN_ADDR} -listenNetwork=${LISTEN_NETWORK} -listenUmask=${LISTEN_UMASK} \
|
||||
-pprofListenAddr=${PPROF_LISTEN_ADDR} ${GIT_REPO_PATH}
|
||||
eend $?
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue