Backend server for SDL
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

19 lines
688 B

#!/usr/bin/env bash
# Purpose: simple run script for Hush lightwalletd with an nginx reverse proxy frontend
# Setup: Change host, change username, and then run this to start lightwalletd
### Change below to your lightwalletd public server name ###
host=your.server.name.com
# port 9067 is the default lightwalletd port
port=9067
host_and_port="${host}:${port}"
### Change below to the username running lightwalletd ###
# this user account must have access to the HUSH3.conf
username=jahway603
hush_conf="/home/${username}/.hush/HUSH3/HUSH3.conf"
echo "starting lightwalletd on port $port..."
lightwalletd -bind-addr "$host_and_port" -conf-file "$hush_conf" -no-tls
# let's go brandon