fi
-electrum_config="/etc/electrum.conf"
+electrum_config="electrum.conf"
if [ ! -f $electrum_config ]; then
echo "$electrum_config does not exist"
rmdir $path --ignore-fail-on-non-empty
-if [ ! -d $path ]; then
- echo "Database not found in $path."
- read -p "Do you want to download it from the Electrum foundry to $path ? " -n 1 -r
- echo
- if [[ $REPLY =~ ^[Yy]$ ]]; then
- mkdir -p $path
- wget -O - "http://foundry.electrum.org/leveldb-dump/electrum-fulltree-100-latest.tar.gz" | tar --extract --gunzip --strip-components 1 --directory $path --file -
- fi
-fi
+#if [ ! -d $path ]; then
+# echo "Database not found in $path."
+# read -p "Do you want to download it from the Electrum foundry to $path ? " -n 1 -r
+# echo
+# if [[ $REPLY =~ ^[Yy]$ ]]; then
+# mkdir -p $path
+# wget -O - "http://foundry.electrum.org/leveldb-dump/electrum-fulltree-100-latest.tar.gz" | tar --extract --gunzip --strip-components 1 --directory $path --file -
+# fi
+#fi
echo "Starting server as daemon"
-nohup /usr/bin/python -u server.py &> /var/log/electrum.log &
+nohup /usr/bin/python -u server.py &> electrum.log &