28 lines
1.1 KiB
SYSTEMD
28 lines
1.1 KiB
SYSTEMD
|
#####################################################
|
||
|
#
|
||
|
# 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=/usr/share/gitlab/tmp/pids/gitlab-workhorse.pid
|
||
|
|
||
|
ExecStart=/usr/share/gitlab/bin/daemon_with_pidfile /usr/share/gitlab/tmp/pids/gitlab-workhorse.pid gitlab-workhorse -listenUmask 0 -listenNetwork unix -listenAddr /usr/share/gitlab/tmp/sockets/gitlab-workhorse.socket -authBackend http://127.0.0.1:8080 -authSocket /usr/share/gitlab/tmp/sockets/gitlab.socket -documentRoot /usr/share/gitlab/public >> /usr/share/gitlab/log/gitlab-workhorse.log 2>&1
|
||
|
|
||
|
[Install]
|
||
|
WantedBy=multi-user.target
|