Forum: Ruby How can I stop WEBrick running as a daemon

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
Ca0b18ec9e11dc777b2b8084fe5d5f90?d=identicon&s=25 Sam Kong (Guest)
on 2005-12-23 08:59
(Received via mailing list)
Hello!

I'm a newbie linux user and I logged in to my web hosting server and
tested rails.
I ran 'ruby script/server -d' (-d means to run as daemon).
Now I don't know how to stop it.
I don't have the root's power.

TIA.

Sam
2dc2228d8db84b46bdd834b0515a26a1?d=identicon&s=25 Lyndon Samson (Guest)
on 2005-12-23 09:42
(Received via mailing list)
On 12/23/05, Sam Kong <sam.s.kong@gmail.com> wrote:
>
> Hello!
>
> I'm a newbie linux user and I logged in to my web hosting server and
> tested rails.
> I ran 'ruby script/server -d' (-d means to run as daemon).
> Now I don't know how to stop it.
> I don't have the root's power.


You started the process, so you can kill it. If you didn't start it with
nohup it might have died when you logged out anyhow.

Research ps and kill.


TIA.
C7d5bc5b054035d95f287797c2595694?d=identicon&s=25 Matias Surdi (Guest)
on 2005-12-23 09:45
(Received via mailing list)
Sam Kong
escribió:> Sam
>
>
>


$ pidof ruby | xargs kill -9



maybe this helps....
This topic is locked and can not be replied to.