Python DevOps Automation: Restarting a Service

🦀 Tech Quiz — Week 1 You're a DevOps engineer tasked with automating the deployment of a Python web application. Your script needs to restart the service after updating the codebase. What is the most suitable Python module to use for running system commands to restart the service? A: subprocess B: os C: sys D: shutil Drop your answer below 👇 — I'll reveal + explain in 24 hours #Python #DevOps #Automation

To view or add a comment, sign in

Explore content categories