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
|
|
|
|
|
2021-03-10 06:07:37 +00:00
|
|
|
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
|