Can't get gogs going as a service


Newest gogs build running on Ubuntu 16.04

Tried with both init.d and systemd and neither seem to work. I don’t see any errors in any logs but it fails to start. Running the command to manually start it works perfect.

Gogs is in /home/git/gogs and runs under the user git which is in the example scripts. I’m not seeing any reason for it to not work. Any ideas?

Edit: Figured it out. The gogs directory needed to be chown’d to the user git