I’m currently running gogs on a Rasbian Stretch, binary version 0.11.29 with a MySQL server.
I’m afraid I can’t figure out how to add gogs properly at launch. I think I’ve located the script I should be using in “/home/git/gogs/scripts/init/debian” but I don’t know how to add it properly.
Question 1: how do I add gogs at startup?
I started contributing by putting our website’s source code (PHP/CodeIgniter) on it, but I don’t know how to automatically copy it over to our webserver when a major version is contributed.
Question 2: where can I make gogs execute a deployment script when a major version is contributed?
Thanks in advance