Enable systemd service automatically
This commit is contained in:
parent
b6b62a792e
commit
85a5b33180
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue