Files
gitlab-recipes/init/systemd/gitlab-git-http.service
Bjørn Øivind Bjørnsen 9deee01ccb systemd: create new unit for gitlab-git-http-server.
This service is required for HTTP(S) push and pull operations from 8.0
and presumably onwards.
2015-09-29 17:39:23 +02:00

26 lines
1.0 KiB
Desktop File

#####################################################
#
# GitLab version : 8.x - 8.x
# Contributors : davispuh, mtorromeo, axilleas, boeserwolf91, Stefan Tatschner (rumpelsepp)
# Downloaded from : https://gitlab.com/gitlab-org/gitlab-recipes/tree/master/init/systemd
#
####################################################
[Unit]
Description=Gitlab Git HTTP Worker
Requires=gitlab-unicorn.service
Wants=gitlab-unicorn.service
After=gitlab-unicorn.service
[Service]
Type=forking
User=git
WorkingDirectory=/home/git/gitlab-git-http-server
SyslogIdentifier=gitlab-git-http-server
PIDFile=/home/git/gitlab/tmp/pids/gitlab-git-http-server.pid
ExecStart=/home/git/gitlab/bin/daemon_with_pidfile /home/git/gitlab/tmp/pids/gitlab-git-http-server.pid /home/git/gitlab-git-http-server/gitlab-git-http-server -listenUmask 0 -listenNetwork unix -listenAddr /home/git/gitlab/tmp/sockets/gitlab-git-http-server.socket -authBackend http://127.0.0.1:8080 /home/git/repositories >> /home/git/gitlab/log/gitlab-git-http-server.log 2>&1
[Install]
WantedBy=multi-user.target