forked from 0x2620/pandora
space
This commit is contained in:
parent
4decc3bc8c
commit
85d84c2800
1 changed files with 6 additions and 5 deletions
|
@ -17,13 +17,14 @@ class Command(BaseCommand):
|
|||
"""
|
||||
help = 'run websocket daemon'
|
||||
args = ''
|
||||
|
||||
def add_arguments(self, parser):
|
||||
parser.add_argument('--debug',
|
||||
action='store_true',
|
||||
dest='debug',
|
||||
default=False,
|
||||
help='enable debug'),
|
||||
parser.add_argument("--pidfile", dest="pidfile",metavar="PIDFILE"),
|
||||
action='store_true',
|
||||
dest='debug',
|
||||
default=False,
|
||||
help='enable debug'),
|
||||
parser.add_argument("--pidfile", dest="pidfile", metavar="PIDFILE"),
|
||||
|
||||
def handle(self, **options):
|
||||
socket = daemon.Daemon(settings.WEBSOCKET_PORT, settings.WEBSOCKET_ADDRESS)
|
||||
|
|
Loading…
Reference in a new issue