umbrel-apps/suredbits-wallet/exports.sh

4 lines
286 B
Bash
Raw Normal View History

2022-05-16 13:30:51 +00:00
export APP_SUREDBITS_WALLET_P2P_PORT="2862"
suredbits_wallet_p2p_hidden_service_file="${EXPORTS_TOR_DATA_DIR}/app-${EXPORTS_APP_ID}-p2p/hostname"
export APP_SUREDBITS_WALLET_P2P_HIDDEN_SERVICE="$(cat "${suredbits_wallet_p2p_hidden_service_file}" 2>/dev/null || echo "notyetset.onion")"