Closed FrontMage closed 6 years ago
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.
On Arch Linux, I managed to do that with a custom system.d
unit. Thanks for the help.
Closing it.
I'm writing a
pm2
like program, the service needs to be a daemon and it's better running withoutsudo
.Is there a way to do this?