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

26 lines
715 B
SYSTEMD
Raw Normal View History

[Unit]
Description=Gitlab Workhorse handles slow HTTP requests for Gitlab.
PartOf=gitlab.target
Requires=gitlab-puma.service
Wants=gitlab-puma.service
After=gitlab-puma.service
PartOf=gitlab.service
ReloadPropagatedFrom=gitlab-puma.service
[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