ops: Kill node before sh in stop script

This commit is contained in:
wiz 2023-11-14 17:46:42 +09:00
parent f2fb2f98f1
commit fdd18317f9
No known key found for this signature in database
GPG Key ID: A394E332255A6173

View File

@ -1,16 +1,19 @@
#!/usr/bin/env zsh
# kill "while true" loops
killall sh
# kill actual node backends
killall node
killall node 2>/dev/null
# kill "while true" loops
killall sh 2>/dev/null
# kill unfurler chrome instances
killall chrome
killall chrome 2>/dev/null
# kill xorg
killall xinit
killall xinit 2>/dev/null
# kill dbus
killall dbus-daemon 2>/dev/null
# kill nginx cache warmer scripts
for pid in `ps uaxww|grep warmer|grep zsh|awk '{print $2}'`;do