This repository has been archived on 2024-11-07. You can view files and clone it, but cannot push or open issues or pull requests.
gitlab-workhorse/gitlab-workhorse.service

23 lines
655 B
SYSTEMD
Raw Normal View History

[Unit]
Description=Gitlab Workhorse
Requires=gitlab-puma.service
After=gitlab-puma.service
[Service]
User=gitlab
Group=gitlab
WorkingDirectory=/usr/share/gitlab
SyslogIdentifier=gitlab-workhorse
CapabilityBoundingSet=
ProtectSystem=full
ProtectHome=true
NoNewPrivileges=true
ExecStart=/usr/bin/gitlab-workhorse -listenUmask 0 -listenNetwork unix -listenAddr /run/gitlab/gitlab-workhorse.socket -authBackend http://localhost:8080 -authSocket /run/gitlab/gitlab.socket -documentRoot /usr/share/gitlab/public
ExecStop=/usr/bin/kill -QUIT $MAINPID
ExecReload=/usr/bin/kill -USR2 $MAINPID
Restart=on-failure
RestartSec=1
[Install]
WantedBy=multi-user.target