📜  致命:安装 gitlab-runner 失败:服务 gitlab-runner 已存在 - Shell-Bash 代码示例

📅  最后修改于: 2022-03-11 14:49:33.281000             🧑  作者: Mango

代码示例1
Rename the init file with

sudo mv /etc/systemd/system/gitlab-runner.service  /etc/systemd/system/gitlab-runner.service.bak
and execute again

sudo gitlab-runner install --user=my-user --working-directory=/home/my-user
cleanup the backup file

sudo rm /etc/systemd/system/gitlab-runner.service.bak