✓ Solved

Running C++ server continuously

Is it true that starting a C++ server using a Ubuntu instance and then exiting the ssh session, it wouldn't cause the server to stop?

2 Replies

✓ Best Answer

If you’re running something where you need to keep the terminal open, you can use Tmux.

If your server is a properly written daemon:

http://people.cs.aau.dk/~adavid/teaching/MTP-05/exercises/10/Linux-Daemon_Writting.pdf

You can just run it from your shell in the background.

— sw

Reply

Please enter an answer
Tips:

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (https://www.google.com)

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct