signal backend, app cleanup
This commit is contained in:
parent
4b157ed1d1
commit
6f18890739
43 changed files with 695 additions and 124 deletions
14
app/signalbot/management/commands/signal-daemon.py
Normal file
14
app/signalbot/management/commands/signal-daemon.py
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
from django.core.management.base import BaseCommand
|
||||
|
||||
from ... import daemon
|
||||
|
||||
|
||||
class Command(BaseCommand):
|
||||
help = 'process incoming singal messages'
|
||||
|
||||
def add_arguments(self, parser):
|
||||
pass
|
||||
|
||||
def handle(self, *args, **options):
|
||||
daemon.main()
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue