diff --git a/suspend_miners.py b/suspend_miners.py index 8b83457..5ea404f 100644 --- a/suspend_miners.py +++ b/suspend_miners.py @@ -131,6 +131,9 @@ def suspend_container(): print(f"Response: {response.text}") + # Stop the container + subprocess.run(['docker', 'stop', uuid]) + # End the script if no commands were found if not found_commands: print("No commands found, exiting.")