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

How to install daemon without sudo? #77

Closed
FrontMage opened this issue Jul 3, 2018 · 2 comments
Closed

How to install daemon without sudo? #77

FrontMage opened this issue Jul 3, 2018 · 2 comments

Comments

@FrontMage
Copy link

I'm writing a pm2 like program, the service needs to be a daemon and it's better running without sudo.

Is there a way to do this?

@dmercer-google
Copy link

Generally the daemon startup script allows you to specify the user you want the daemon to run as. Where that script is depends on the os you are using.

@FrontMage
Copy link
Author

On Arch Linux, I managed to do that with a custom system.d unit. Thanks for the help.

Closing it.

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