2014-05-08 16:59:35 +00:00
|
|
|
from django.core.management.base import BaseCommand
|
|
|
|
|
|
|
|
from orchestra.management.commands.startservices import ManageServiceCommand
|
2015-04-05 22:34:47 +00:00
|
|
|
from orchestra.settings import ORCHESTRA_STOP_SERVICES
|
2014-05-08 16:59:35 +00:00
|
|
|
|
|
|
|
|
|
|
|
class Command(ManageServiceCommand):
|
2015-04-05 22:34:47 +00:00
|
|
|
services = ORCHESTRA_STOP_SERVICES
|
2014-05-08 16:59:35 +00:00
|
|
|
action = 'stop'
|
|
|
|
option_list = BaseCommand.option_list
|
|
|
|
help = 'Stop all related services. Usefull for reload configuration and files.'
|