diff --git a/system_monitoring/self_healing.py b/system_monitoring/self_healing.py index c0cc472de..f88eed8f4 100644 --- a/system_monitoring/self_healing.py +++ b/system_monitoring/self_healing.py @@ -1,10 +1,11 @@ import subprocess + class SelfHealing: def __init__(self): pass def heal_system(self): # Implement automatic healing techniques - subprocess.run(['systemctl', 'restart', 'nginx']) - subprocess.run(['systemctl', 'restart', 'postgresql']) + subprocess.run(["systemctl", "restart", "nginx"]) + subprocess.run(["systemctl", "restart", "postgresql"])