Every time I stop my rails server with CTRL-Z, the process keeps running and I always have to kill -9 it in order to start the server again.
How can I make sure that the process is killed when I stop the server?
Every time I stop my rails server with CTRL-Z, the process keeps running and I always have to kill -9 it in order to start the server again.
How can I make sure that the process is killed when I stop the server?
Try to use ctrl+c to stop your server always so that there is no need for using kill -9
to kill the process
use CRTL + C
short key to stop the rails server, than there will be no need to use kill 9
every time.