hide output

This commit is contained in:
wh1te909
2020-11-26 00:38:13 +00:00
parent 8636758a90
commit 00537b32ef

View File

@@ -24,7 +24,7 @@ def reload_nats():
cert_path = f"/etc/letsencrypt/live/{domain}"
else:
cert_path = "/opt/tactical/certs"
config = {
"tls": {
"cert_file": f"{cert_path}/fullchain.pem",
@@ -39,4 +39,6 @@ def reload_nats():
json.dump(config, f)
if not settings.DOCKER_BUILD:
subprocess.run(["/usr/local/bin/nats-server", "-signal", "reload"])
subprocess.run(
["/usr/local/bin/nats-server", "-signal", "reload"], capture_output=True
)