G
G
ganbatte2020-05-22 16:07:18
go
ganbatte, 2020-05-22 16:07:18

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

1 answer(s)
A
Alexander Pavlyuk, 2020-05-22
@pav5000

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 question

Ask a Question

731 491 924 answers to any question