add restart command
All checks were successful
Publish Docker Image / docker (push) Successful in 2m53s
All checks were successful
Publish Docker Image / docker (push) Successful in 2m53s
This commit is contained in:
10
src/command/impl/restartCommand.py
Normal file
10
src/command/impl/restartCommand.py
Normal file
@ -0,0 +1,10 @@
|
||||
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", "")
|
||||
|
||||
def execute(self, traefikConfig: TraefikConfig, args):
|
||||
restartTraefik()
|
Reference in New Issue
Block a user