element-web/riot/stop.sh

6 lines
105 B
Bash
Raw Normal View History

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