debian-mirror-gitlab/debian/conf/gitlab-workhorse.service

30 lines
1.2 KiB
SYSTEMD
Raw Normal View History

2016-02-04 13:32:45 +05:30
#####################################################
#
# GitLab version : 8.2 - 8.x
# Contributors : bjorn-oivind
# Downloaded from : https://gitlab.com/gitlab-org/gitlab-recipes/tree/master/init/systemd
#
####################################################
[Unit]
Description=Gitlab Workhorse handles slow HTTP requests for Gitlab.
PartOf=gitlab.target
Requires=gitlab-unicorn.service
Wants=gitlab-unicorn.service
After=gitlab-unicorn.service
[Service]
Type=forking
User=gitlab
WorkingDirectory=/usr/share/gitlab
EnvironmentFile=/etc/gitlab/gitlab-debian.conf
SyslogIdentifier=gitlab-workhorse
PIDFile=/var/run/gitlab/pids/gitlab-workhorse.pid
2016-02-04 13:32:45 +05:30
2016-02-15 18:37:03 +05:30
ExecStartPre=/usr/bin/install -o gitlab -g gitlab -m 2750 -d /var/run/gitlab/pids
ExecStartPre=/usr/bin/install -o gitlab -g gitlab -m 2750 -d /var/run/gitlab/sockets
2016-02-15 13:51:04 +05:30
ExecStart=/usr/share/gitlab/bin/daemon_with_pidfile /var/run/gitlab/pids/gitlab-workhorse.pid gitlab-workhorse -listenUmask 0 -listenNetwork unix -listenAddr /var/run/gitlab/sockets/gitlab-workhorse.socket -authBackend http://127.0.0.1:8080 -authSocket /var/run/gitlab/sockets/gitlab.socket -documentRoot /usr/share/gitlab/public >>/var/log/gitlab/gitlab-workhorse.log 2>&1
2016-02-04 13:32:45 +05:30
[Install]
WantedBy=multi-user.target