10 lines
323 B
Python
10 lines
323 B
Python
from command.command import Command
|
|
from traefik.traefikConfig import TraefikConfig
|
|
from utils.dockerUtils import restartTraefik
|
|
|
|
class RestartCommand(Command):
|
|
def __init__(self):
|
|
super().__init__("restart", "Restart traefik", "restart")
|
|
|
|
def execute(self, traefikConfig: TraefikConfig, args):
|
|
restartTraefik() |