Michael McC Michael McC - 6 months ago 31
Bash Question

Stop meteor through a shell command

Thanks to some help I just now got on this site, I know how to start up my meteor app (start the meteor server running) with a shell script that I created with Automator. But now I realize that the only way I know how to stop the meteor server is to do a CTL-C in the terminal window. But if start the meteor server with my script, I don't have a shell window. Is there a way to stop the server through a shell script?


You can kill meteor with this command, as seen here:

kill $(ps ax | grep '[m]eteor' | awk '{print $1}')