12 lines
401 B
Python
12 lines
401 B
Python
from django.core.management.base import BaseCommand
|
|
|
|
from orchestra.management.commands.startservices import ManageServiceCommand
|
|
from orchestra.settings import RESTART_SERVICES
|
|
|
|
|
|
class Command(ManageServiceCommand):
|
|
services = RESTART_SERVICES
|
|
action = 'restart'
|
|
option_list = BaseCommand.option_list
|
|
help = 'Restart all related services. Usefull for reload configuration and files.'
|