#!/bin/bash if [ -z "$PASSPHRASE" ]; then echo "No PASSPHRASE environment variable" exit 1 fi if [ -z "$COINS" ]; then source ~/coins COINS=$coins fi exec marketmaker "{\"gui\":\"nogui\", \"client\":1, \"docker\":1, \"userhome\":\"/${HOME#"/"}\", \"passphrase\":\"$PASSPHRASE\", \"coins\":$COINS}"