mirror of
https://github.com/mynodebtc/mynode.git
synced 2024-11-15 01:49:15 +00:00
7 lines
311 B
Plaintext
7 lines
311 B
Plaintext
|
#!/bin/bash
|
||
|
|
||
|
# mynode-warden-terminal
|
||
|
# This script needs to be run with sudo so it can run as the bitcoin user
|
||
|
|
||
|
cp -f /usr/share/mynode/wardenterminal.ini /opt/mynode/wardenterminal/config.ini
|
||
|
sudo -u bitcoin bash -c "cd /opt/mynode/wardenterminal/; source env/bin/activate; python3 node_warden.py 2>/dev/null"
|