I’ve tried both creating my own and using --config to point to the Caddyfile, and the NSSM cmd line set up, both of which get the below whenever I try to start the service:
My user is an administrator, however the service is set to “log on as” Local System. I did just set the log on as to myself but it’s still giving me this same error.
Have you redirected stdout and stderr to log files?
If so, is there anything in there?
Caddy’s pretty much always got something to say, even if it can’t start up - might point us in the right direction on why it’s not working in your case.