element-web/riot/stop.sh
2018-07-18 18:04:31 +02:00

6 lines
No EOL
105 B
Bash

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