I love working in #cli a lot. There is a common task of running daemon processes and then killing them at later stage.
Nowadays, I am building a project with dagster. I have been running Dagster locally, as documented at docs.dagster.io/deployment/guides/servi….
Let’s say I want to kill the running dagster webserver:
Old Tedious Process:
ps -ef | grep dagster-webserverkill -9 PID
New Process:
pkill -SIGTERM -f dagster-webserver