m3ng9i/ran

Running in background

solancer opened this issue · 2 comments

If I run RAN in the background how can I stop it or start it again?

Stop: Use ps command to find the pid of ran, and then use kill command to stop it.

example:

ps -C ran -o pid= | xargs -I {} kill {}

You can also use any process manager provided by the OS to stop ran.

Start ran in background:

ran -l &

perfect, also the below code also worked fine to stop the process

kill -9 $(lsof -t -i:8080)