FS#56599 - [gitlab-workhorse] unrecognized argument in gitlab-workhorse.service
Attached to Project:
Community Packages
Opened by Jakub Klinkovský (lahwaacz) - Tuesday, 05 December 2017, 17:52 GMT
Last edited by Sven-Hendrik Haase (Svenstaro) - Thursday, 07 December 2017, 19:20 GMT
Opened by Jakub Klinkovský (lahwaacz) - Tuesday, 05 December 2017, 17:52 GMT
Last edited by Sven-Hendrik Haase (Svenstaro) - Thursday, 07 December 2017, 19:20 GMT
|
Details
The default gitlab-workhorse.service has this ExecStart line
[1]:
ExecStart=/usr/bin/gitlab-workhorse -listenUmask 0 -authBackend http://localhost:8080 -authSocket /var/lib/gitlab/sockets/gitlab.socket -listenAddr /run/gitlab/gitlab-workhorse.socket -listenNetwork unix /var/lib/gitlab/repositories -documentRoot /usr/share/webapps/gitlab/public There is "/var/lib/gitlab/repositories" near the end, but what option does it belong to? The gitlab-workhorse does not have any (documented) positional arguments, so it might be just ignored. Is it a typo? [1] https://git.archlinux.org/svntogit/community.git/tree/trunk/gitlab-workhorse.service?h=packages/gitlab-workhorse#n15 |
This task depends upon
Closed by Sven-Hendrik Haase (Svenstaro)
Thursday, 07 December 2017, 19:20 GMT
Reason for closing: Fixed
Thursday, 07 December 2017, 19:20 GMT
Reason for closing: Fixed
FS#49201. But that's been there since the first version.gitlab_workhorse_options="-listenUmask 0 -listenNetwork unix -listenAddr $socket_path/gitlab-workhorse.socket -authBackend http://127.0.0.1:8080 -authSocket $socket_path/gitlab.socket -documentRoot $app_root/public"
If I followed the right link, upstream has these options:
-listenUmask 0 -listenNetwork unix -listenAddr $socket_path/gitlab-workhorse.socket -authBackend http://127.0.0.1:8080 -authSocket $rails_socket -documentRoot $app_root/public"
Arch service file:
-listenUmask 0 -authBackend http://localhost:8080 -authSocket /var/lib/gitlab/sockets/gitlab.socket -listenAddr /run/gitlab/gitlab-workhorse.socket -listenNetwork unix /var/lib/gitlab/repositories -documentRoot /usr/share/webapps/gitlab/public
All options except /var/lib/gitlab/repositories nicely match each other.