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

Allow running daemons as non-root/administrator #98

Open
wants to merge 2 commits into
base: develop
Choose a base branch
from

Conversation

bunjiboys
Copy link

Added new methods SetUser and SetPassword to allow for running daemons as non-root user on all supported operating systems.

Also fixed a couple of typos and fixed a few OS specific methods to use the correct names, for example:

- func (linux *darwinRecord) GetTemplate() string {
+ func (darwin *darwinRecord) GetTemplate() string {

This has been tested on all supported OS types.

as non-root user on all supported operating systems

Remove debug print statement
@kiruxan
Copy link

kiruxan commented Sep 24, 2021

It will be nice to have configured user!

@thallgren
Copy link

Does this PR make #103 unnecessary, or is that another way of doing the same thing (on systemd)?

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 this pull request may close these issues.

3 participants