2016-07-17 23:45:13 +05:30
|
|
|
[Unit]
|
|
|
|
Description=Gitlab Workhorse handles slow HTTP requests for Gitlab.
|
|
|
|
PartOf=gitlab.target
|
2020-08-20 19:51:56 +05:30
|
|
|
Requires=gitlab-puma.service
|
|
|
|
Wants=gitlab-puma.service
|
|
|
|
After=gitlab-puma.service
|
2016-07-17 23:45:13 +05:30
|
|
|
PartOf=gitlab.service
|
2020-08-20 19:51:56 +05:30
|
|
|
ReloadPropagatedFrom=gitlab-puma.service
|
2016-07-17 23:45:13 +05:30
|
|
|
|
|
|
|
[Service]
|
|
|
|
Type=simple
|
|
|
|
WorkingDirectory=/usr/share/gitlab
|
|
|
|
EnvironmentFile=/etc/gitlab/gitlab-debian.conf
|
|
|
|
SyslogIdentifier=gitlab-workhorse
|
|
|
|
ExecStart=/usr/bin/gitlab-workhorse \
|
|
|
|
-listenUmask 0 \
|
|
|
|
-listenNetwork unix \
|
|
|
|
-listenAddr ${gitlab_pid_path}/gitlab-workhorse.socket \
|
|
|
|
-authBackend http://127.0.0.1:8080 \
|
|
|
|
-authSocket ${gitlab_pid_path}/gitlab.socket \
|
|
|
|
-documentRoot ${gitlab_app_root}/public
|
|
|
|
Restart=on-abnormal
|
|
|
|
|
|
|
|
[Install]
|
|
|
|
WantedBy=gitlab.target
|