mirror of
https://github.com/mynodebtc/mynode.git
synced 2024-11-15 18:02:49 +00:00
6 lines
199 B
Plaintext
6 lines
199 B
Plaintext
|
#!/bin/bash
|
||
|
|
||
|
# mynode-pyblock
|
||
|
# This script needs to be run with sudo so it can run as the bitcoin user
|
||
|
|
||
|
sudo -u bitcoin bash -c "cd /opt/mynode/pyblock/; source env/bin/activate; python3 PyBlock.py"
|