Skip to content

RPM Centos 6 package without init script - 10.0.0

I have upgraded to gitlab-runner-10.0.0-1.x86_64. Package does not contain init script, so the runner is not able to start automatically. I'm no able to start it as written in /usr/share/gitlab-runner/post-install.

[root@gitlab-ci3 ~]# gitlab-runner start
WARNING: Since GitLab Runner 10.0 this command is marked as DEPRECATED and will be removed in one of the upcoming releases 
FATAL: Failed to start gitlab-runner: "service" failed: exit status 1, gitlab-runner: unrecognized service
[root@gitlab-ci3 ~]# rpm -qi gitlab-runner-10.0.0-1.x86_64
Name        : gitlab-runner                Relocations: / 
Version     : 10.0.0                            Vendor: GitLab Inc.
Release     : 1                             Build Date: Pá 22. září 2017, 14:48:04 CEST
Install Date: So 23. září 2017, 15:09:44 CEST      Build Host: runner-e11ae361-project-250833-concurrent-0
Group       : default                       Source RPM: gitlab-runner-10.0.0-1.src.rpm
Size        : 47835436                         License: MIT
Signature   : (none)
Packager    : GitLab Inc. <support@gitlab.com>
URL         : https://gitlab.com/gitlab-org/gitlab-runner
Summary     : GitLab Runner
Description :
GitLab Runner
[root@gitlab-ci3 ~]# cat /etc/redhat-release 
CentOS release 6.9 (Final)
[root@gitlab-ci3 ~]# rpm -ql gitlab-runner-10.0.0-1.x86_64
/usr/bin/gitlab-ci-multi-runner
/usr/bin/gitlab-runner
/usr/share/gitlab-runner/clear-docker-cache
/usr/share/gitlab-runner/post-install
/usr/share/gitlab-runner/pre-remove