From 85a5b33180463517359d346bd216373c6065ff99 Mon Sep 17 00:00:00 2001 From: Radon Rosborough Date: Sat, 22 Aug 2020 16:14:30 -0600 Subject: [PATCH] Enable systemd service automatically --- scripts/deploy-phase2.py | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/deploy-phase2.py b/scripts/deploy-phase2.py index 8489fbb..afd2bba 100755 --- a/scripts/deploy-phase2.py +++ b/scripts/deploy-phase2.py @@ -19,6 +19,7 @@ existing_containers = subprocess.run( subprocess.run(["scripts/install-scripts.bash"], check=True) if existing_containers: subprocess.run(["docker", "kill", *existing_containers], check=True) +subprocess.run(["systemctl", "enable", "riju"], check=True) subprocess.run(["systemctl", "restart", "riju"], check=True) print("==> Successfully deployed Riju! <==", file=sys.stderr)