Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import os, time
- while True:
- time.sleep(3)
- status = str(os.popen("ps -ef | grep bitcoind | grep -v grep | grep -v python ").read())
- if int(len(status)) < 8:
- os.system("bitcoind -daemon")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement