mynode/rootfs/standard/usr/bin/mynode-joinmarket

11 lines
354 B
Plaintext
Raw Normal View History

2021-02-18 03:22:05 +00:00
#!/bin/bash
# mynode-joinmarket
# This script needs to be run with sudo so it can run as the joinmarket user
sudo -u joinmarket bash -c "cd /home/joinmarket/joinmarket-clientserver; bash --rcfile <(echo '. ~/.bashrc; source ./jmvenv/bin/activate; cd scripts')"
#sudo su joinmarket
#cd ~/joinmarket-clientserver/
#source jmvenv/bin/activate
#cd scripts