element-web/riot/stop.sh
2018-07-23 09:41:25 +02:00

6 lines
No EOL
129 B
Bash

BASE_DIR=$(realpath $(dirname $0))
pushd $BASE_DIR > /dev/null
PIDFILE=riot.pid
kill $(cat $PIDFILE)
rm $PIDFILE
popd > /dev/null