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'
|
help = 'run websocket daemon'
|
||||||
args = ''
|
args = ''
|
||||||
|
|
||||||
def add_arguments(self, parser):
|
def add_arguments(self, parser):
|
||||||
parser.add_argument('--debug',
|
parser.add_argument('--debug',
|
||||||
action='store_true',
|
action='store_true',
|
||||||
dest='debug',
|
dest='debug',
|
||||||
default=False,
|
default=False,
|
||||||
help='enable debug'),
|
help='enable debug'),
|
||||||
parser.add_argument("--pidfile", dest="pidfile",metavar="PIDFILE"),
|
parser.add_argument("--pidfile", dest="pidfile", metavar="PIDFILE"),
|
||||||
|
|
||||||
def handle(self, **options):
|
def handle(self, **options):
|
||||||
socket = daemon.Daemon(settings.WEBSOCKET_PORT, settings.WEBSOCKET_ADDRESS)
|
socket = daemon.Daemon(settings.WEBSOCKET_PORT, settings.WEBSOCKET_ADDRESS)
|
||||||
|
|
Loading…
Reference in a new issue