How to restart a systemctl service from within the process

Colin Law clanlaw at gmail.com
Mon Nov 23 09:51:27 UTC 2020


On Mon, 23 Nov 2020 at 09:41, Karl Auer <kauer at biplane.com.au> wrote:
> ...
> Someone in this thread said one could manage non-root service units
> without sudo; interested in how that works.

I said you could use sudo for a specific user/command without the need
to enter a password.  Is that what you are referring to?

> Not sure it will help you if node-red has to run as root.

It doesn't have to and it is definitely a bad idea to run node-red as
root.  What gave you that idea?

Colin




More information about the ubuntu-users mailing list