gentoo-overlay/dev-vcs/gitlab-git-http-server/files/gitlab-git-http-server.init

10 lines
417 B
Text
Raw Normal View History

#!/sbin/runscript
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 --user ${RUNAS_USER}:${RUNAS_GROUP} \
-- -authBackend=${AUTH_BACKEND} -listenAddr=${LISTEN_ADDR} -listenNetwork=${LISTEN_NETWORK} -listenUmask=${LISTEN_UMASK} \
-pprofListenAddr=${PPROF_LISTEN_ADDR} ${GIT_REPO_PATH}
}