I installed gitlab-runner via sudo apt install gitlab-runner
, configured it according to the tutorial and it worked well.
Now I want to change the user of the gitlab-runner. So I stop the service with service gitlab-runner stop
and try to change the user via
sudo gitlab-runner install --user=my-user --working-directory=/home/my-user
I get following error message:
FATAL: Failed to install gitlab-runner: Init already exists: /etc/systemd/system/gitlab-runner.service
How to proceed?