Advertisement
Guest User

Untitled

a guest
Apr 12th, 2013
58
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.19 KB | None | 0 0
  1. import os, time
  2. while True:
  3. time.sleep(3)
  4. status = str(os.popen("ps -ef | grep bitcoind | grep -v grep | grep -v python ").read())
  5. if int(len(status)) < 8:
  6. os.system("bitcoind -daemon")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement