If 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.
Linux questions Rules (in addition of the Lemmy.zip rules)
Tips for giving and receiving help
Any rule violations will result in disciplinary actions
If 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.
Is that necessary for processes running as root? AfaIk, root is default.
Keywords should be in CamelCase format, thus the space in Wanted By is wrong.
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
It's an autocorrect typo. It's actually WantedBy in the file.
Would have been nice if this would have been the error.
Foiled by autocorrect! There's no space in the original file, and I've edited my post to reflect that.
Does the command in ExecStart work in a root environment, e.g. sudo -i?
I added the relevant user and group, and it's still throwing a 126. I checked the daemon itself, and it looks like it's a pre-compiled binary. Manually running /bin/bash /path/to/daemon gives the same error, but sudo /path/to/daemon starts the daemon.