prevent stop scripts from polluting output

This commit is contained in:
Bruno Windels 2018-07-23 09:41:25 +02:00
parent 40c0967364
commit bc06d370d0
2 changed files with 6 additions and 6 deletions

View file

@ -1,6 +1,6 @@
BASE_DIR=$(realpath $(dirname $0))
pushd $BASE_DIR
pushd $BASE_DIR > /dev/null
PIDFILE=riot.pid
kill $(cat $PIDFILE)
rm $PIDFILE
popd
popd > /dev/null

View file

@ -1,7 +1,7 @@
BASE_DIR=$(realpath $(dirname $0))
pushd $BASE_DIR
pushd installations/consent
pushd $BASE_DIR > /dev/null
pushd installations/consent > /dev/null
source env/bin/activate
./synctl stop
popd
popd
popd > /dev/null
popd > /dev/null