diff --git a/main.py b/main.py index 531101a..94c40d4 100755 --- a/main.py +++ b/main.py @@ -79,7 +79,7 @@ async def status(ctx): async def status(ctx, *args): """Exécute une commande systemd""" error = None - commands = ["start", "stop", "enable", "disable"] + commands = ["start", "stop", "enable", "disable", "restart"] if len(args) < 2: error = "Paramètres manquants." elif args[0] not in commands: