git://git.novaco.in
/
electrum-server.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
42571c503ae99ce70f3b4535cc149bf1b0d5e4e5
[electrum-server.git]
/
stop
1
#!/bin/bash
2
PID=`/usr/bin/python server.py getpid`
3
/usr/bin/python server.py stop
4
echo "Waiting until process $PID terminates..."
5
while ps -p $PID > /dev/null; do sleep 1; done
6
echo "Done."