I've got problem with my Go server.
When I'm connected to my NAS via SSH and do ./gogs web
, the server is starting. But when I close the SSH connection, the server is stopped.
How I can start my Go server permanently?
I've got problem with my Go server.
When I'm connected to my NAS via SSH and do ./gogs web
, the server is starting. But when I close the SSH connection, the server is stopped.
How I can start my Go server permanently?
You have scripts in gogs allowing you to launch the server as a daemon:
scripts/init/debian/gogs
(recently fixed with issue 519)scripts/init/centos/gogs
That would allow the process to remain while the session is closed.
You have other options in issues 172.