Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to kill Elixir Daemon

Tags:

elixir

I start daemon of elixir.

elixir --detached -S mix run

But I cannot find way to kill this.

(My Server is CentOS.)

like image 314
taku_oka Avatar asked Aug 04 '15 07:08

taku_oka


2 Answers

Find the process ID using ps -eaf|grep elixir and kill the process using kill <process_id>

like image 84
Lenin Raj Rajasekaran Avatar answered Oct 22 '22 14:10

Lenin Raj Rajasekaran


As @Werner typed in comment for me it worked:

sudo fuser -k 4001/tcp

Change 4001 to your port

like image 32
DokiCRO Avatar answered Oct 22 '22 14:10

DokiCRO