nhowell77@sh.itjust.workstoLinux Questions@lemmy.zip•[Solved] How can I make a custom .service run as root?English
3·
3 months agoIf that is your full .service file you are missing the directive to tell the daemon what user to run under. Under service try adding
User=root
Group=root
Before the ExecStart command line.
Honestly can’t believe I completely missed the space in Wanted By. This is likely the bigger culprit to the failed to run error. Poster above me is correct should read
WantedBy