#!/bin/bash [[ $EUID == 0 ]] || exec sudo "${BASH_SOURCE[0]}" if [[ -e /tmp/no-bitcoinon ]]; then exit 0 fi systemctl start bitcoind