I
I
IvanN7772015-05-09 14:33:52
linux
IvanN777, 2015-05-09 14:33:52

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

2 answer(s)
S
Sergey, 2015-05-09
@IvanN777

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.

I
IvanN777, 2015-05-09
@IvanN777

Yeah, and the daemon works, I just didn't set up the server correctly. I'll try the guide.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question