django-orchestra-test/orchestra/management/commands/stopservices.py
2015-04-05 22:34:47 +00:00

12 lines
409 B
Python

from django.core.management.base import BaseCommand
from orchestra.management.commands.startservices import ManageServiceCommand
from orchestra.settings import ORCHESTRA_STOP_SERVICES
class Command(ManageServiceCommand):
services = ORCHESTRA_STOP_SERVICES
action = 'stop'
option_list = BaseCommand.option_list
help = 'Stop all related services. Usefull for reload configuration and files.'