registration implemented
This commit is contained in:
0
daemons/__init__.py
Normal file
0
daemons/__init__.py
Normal file
6
daemons/celery.py
Normal file
6
daemons/celery.py
Normal file
@@ -0,0 +1,6 @@
|
||||
from SprintLib.BaseDaemon import BaseDaemon
|
||||
|
||||
|
||||
class Daemon(BaseDaemon):
|
||||
def command(self):
|
||||
return "celery -A Sprint worker -l INFO --concurrency=4"
|
6
daemons/redis.py
Normal file
6
daemons/redis.py
Normal file
@@ -0,0 +1,6 @@
|
||||
from SprintLib.BaseDaemon import BaseDaemon
|
||||
|
||||
|
||||
class Daemon(BaseDaemon):
|
||||
def command(self):
|
||||
return "redis-server"
|
6
daemons/web.py
Normal file
6
daemons/web.py
Normal file
@@ -0,0 +1,6 @@
|
||||
from SprintLib.BaseDaemon import BaseDaemon
|
||||
|
||||
|
||||
class Daemon(BaseDaemon):
|
||||
def command(self):
|
||||
return "python manage.py runserver"
|
Reference in New Issue
Block a user