1
0
Fork 0
mirror of https://github.com/eosswedenorg/thalos synced 2026-06-16 04:24:56 +02:00

scripts/stop.sh: pass "-s INT" to kill.

This commit is contained in:
Henrik Hautakoski 2022-02-02 15:08:33 +01:00
parent 875304066e
commit ed82bb9aec

View file

@ -5,7 +5,7 @@ PIDFILE="$(pwd)/eosio-ship-trace-reader.pid"
if [ -f "$PIDFILE" ]; then
pid=$(cat "$PIDFILE")
echo $pid
kill $pid
kill -s INT $pid
rm -r "$PIDFILE"
echo -ne "Stopping process"
while true; do