5

I start daemon of elixir.

elixir --detached -S mix run

But I cannot find way to kill this.

(My Server is CentOS.)

taku_oka
  • 453
  • 6
  • 18

2 Answers2

9

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

Raj
  • 22,346
  • 14
  • 99
  • 142
1

As @Werner typed in comment for me it worked:

sudo fuser -k 4001/tcp

Change 4001 to your port

DokiCRO
  • 4,565
  • 3
  • 20
  • 22