2020-07-24 18:45:30 +02:00
|
|
|
#!/usr/bin/env zsh
|
2022-08-29 12:45:02 +02:00
|
|
|
|
|
|
|
# kill actual node backends
|
2023-11-14 09:46:42 +01:00
|
|
|
killall node 2>/dev/null
|
|
|
|
|
|
|
|
# kill "while true" loops
|
|
|
|
killall sh 2>/dev/null
|
2022-08-29 12:45:02 +02:00
|
|
|
|
|
|
|
# kill unfurler chrome instances
|
2023-11-14 09:46:42 +01:00
|
|
|
killall chrome 2>/dev/null
|
2022-08-29 12:45:02 +02:00
|
|
|
|
|
|
|
# kill xorg
|
2024-05-01 17:52:42 +02:00
|
|
|
killall xinit Xorg 2>/dev/null
|
2023-11-14 09:46:42 +01:00
|
|
|
|
|
|
|
# kill dbus
|
|
|
|
killall dbus-daemon 2>/dev/null
|
2022-08-29 12:45:02 +02:00
|
|
|
|
|
|
|
# kill nginx cache warmer scripts
|
2022-08-28 13:04:40 +02:00
|
|
|
for pid in `ps uaxww|grep warmer|grep zsh|awk '{print $2}'`;do
|
|
|
|
kill $pid
|
|
|
|
done
|
2022-08-29 12:45:02 +02:00
|
|
|
|
2024-02-25 08:47:40 +01:00
|
|
|
# kill nginx cache heater scripts
|
|
|
|
for pid in `ps uaxww|grep heater|grep zsh|awk '{print $2}'`;do
|
|
|
|
kill $pid
|
|
|
|
done
|
|
|
|
|
2022-08-29 12:45:02 +02:00
|
|
|
# always exit successfully despite above errors
|
|
|
|
exit 0
|