Answer the question
In order to leave comments, you need to log in
How to stop golang? And how not to run immediately in daemon in ubuntu?
Created a simple website. When I open the assembled golang, it starts immediately from the Ubuntu desktop, no terminal opens, but I would like it to open in the terminal.
And I want to turn off the server from the sites, I press the exit, and the server should turn off, maybe there is some kind of ready-made function? searched did not find.
Answer the question
In order to leave comments, you need to log in
Well, run in the terminal. Open a terminal and start the server there. By default, it does not run as a daemon.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question