mirror of
https://github.com/mynodebtc/mynode.git
synced 2024-11-15 09:59:16 +00:00
6 lines
210 B
Bash
Executable File
6 lines
210 B
Bash
Executable File
#!/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 pybitblock/PyBlock.py" |