Yeah yeah before you give your snarky comments about how Windows sucks - I KNOW. I hate it. I’ve been on Qubes and it’s even worse, huge memory consumption without possibility of swap. Hackintosh doesn’t recognize my USB hub.
Here’s the command line that works:
sc.exe create gitea start=auto binPath="“C:\gitea\gitea.exe” web --config “C:\gitea\custom\conf\app.ini”"
Notice there is no space between = and auto, as well as = and "“C:\gitea\gitea.exe”
edit: yeah my bad, that line won’t even get it running!
Here’s the right one:
sc.exe create gitea start=auto binPath="C:\gitea\gitea.exe web --config "C:\gitea\custom\conf\app.ini\""