Enable systemd service automatically

This commit is contained in:
Radon Rosborough 2020-08-22 16:14:30 -06:00
parent b6b62a792e
commit 85a5b33180
1 changed files with 1 additions and 0 deletions

View File

@ -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)