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

Set username on linux #46

Open
RangerMauve opened this issue May 8, 2019 · 2 comments · May be fixed by #48
Open

Set username on linux #46

RangerMauve opened this issue May 8, 2019 · 2 comments · May be fixed by #48

Comments

@RangerMauve
Copy link

Hi, I'm in a situation where I need to run the service as a specific user on Linux

Looking into it, it seems that the systemd it needs a User directive in the [Service] section.

For non-systemd you could run the program as using the runuser command to set the username to run under.

Would a PR for this functionality be welcome?

@stephenwvickers
Copy link
Collaborator

Yes, a PR would be welcome, thanks @RangerMauve

Steve

@RangerMauve
Copy link
Author

Hey, just wondering if you've had a chance to look at the PR and if there's anything I can do to help push it forward. 😁

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

Successfully merging a pull request may close this issue.

2 participants