Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a feature to manage the gitlab-runner service files #50

Open
EdgeJ opened this issue Jun 17, 2019 · 1 comment
Open

Add a feature to manage the gitlab-runner service files #50

EdgeJ opened this issue Jun 17, 2019 · 1 comment

Comments

@EdgeJ
Copy link

EdgeJ commented Jun 17, 2019

Currently, the gitlab-ci-runner module manages the config.toml file for setting up the runners themselves. However, it would also be nice to manage the systemd/sysv service file as well to do things like set a different user to run the gitlab-runner service, set a different working directory, etc.

@bobweston
Copy link

I came here specifically to see if that use case was baked in to the module. (Change the gitlab-runner's user from gitlab-runner to another user.). Our devs need the runner to execute as non-root or gitlab-runner user.

I found a way (on stackoverflow) to do it manually. But we've tried to avoid making manual changes on our VMs.

https://stackoverflow.com/questions/37187899/change-gitlab-ci-runner-user

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants