added linux run script
This commit is contained in:
parent
eee5ca9f74
commit
8b4b69e99c
11 changed files with 8 additions and 71 deletions
|
@ -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
|
Loading…
Add table
Add a link
Reference in a new issue