added linux run script

This commit is contained in:
Kevin Froman 2018-01-15 02:03:13 -06:00
parent eee5ca9f74
commit 8b4b69e99c
No known key found for this signature in database
GPG key ID: 0D414D0FE405B63B
11 changed files with 8 additions and 71 deletions

View file

@ -22,7 +22,7 @@ and code to operate as a daemon, getting commands from the command queue databas
import sqlite3, requests, hmac, hashlib, time, sys, os
import core
class OnionrCommunicate:
def __init__(self):
def __init__(self, debug, developmentMode):
''' OnionrCommunicate
This class handles communication with nodes in the Onionr network.
@ -57,4 +57,7 @@ try:
except IndexError:
pass
if shouldRun:
OnionrCommunicate(debug, developmentMode)
try:
OnionrCommunicate(debug, developmentMode)
except KeyboardInterrupt:
pass