You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
jumpserver/stopserver

6 lines
154 B

#!/bin/bash
pids=$(ps axu | grep -E '(manage.py|log_handler|index.js)' | grep -v 'grep' | awk '{ print $2 }')
for pid in $pids;do
kill -15 $pid
done