Answer the question
In order to leave comments, you need to log in
I wanted to set up a VDS, "thin" server for Rails and started the daemon on port 80, how to destroy it?
I installed the thin gem, looked at the number of downloads and decided a good one and probably it is.
Logged in via sssh and started the server.
The site worked, but when I logged out of ssh, the site stopped.
I went to the gem page.
https://github.com/macournoyer/thin/
And I saw the -d option, I thought that if I exit the console, it will continue to work.
thin start -p 80 -d
But the site didn't start and the port got busy.
When I tried so thin stop - 80
Nothing helped, but this is port 80 (((
Answer the question
In order to leave comments, you need to log in
Initially, you are not doing it right) you should not hang up thin on port 80. Google on nginx + supevisord + unicorn/thin/uwsgi. I chose the latter for myself.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question