django-orchestra-test/orchestra/management/commands/stopservices.py

11 lines
352 B
Python
Raw Permalink Normal View History

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