diff options
author | mia <mia@mia.jetzt> | 2024-09-01 19:08:09 -0700 |
---|---|---|
committer | mia <mia@mia.jetzt> | 2024-09-01 19:08:09 -0700 |
commit | e6416a52c32076c7d19b0e5f6740366a814d5f31 (patch) | |
tree | 7146c8fad55cbec4d48b85b8d7a6541117ee45a7 /nginx | |
parent | 66a6fcd862cbb4b4505fab2bcd1d0b6a4ae06535 (diff) | |
download | callosum-e6416a52c32076c7d19b0e5f6740366a814d5f31.tar.gz callosum-e6416a52c32076c7d19b0e5f6740366a814d5f31.zip |
fix nginx not being restarted properly
Diffstat (limited to 'nginx')
-rw-r--r-- | nginx/sync.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/nginx/sync.py b/nginx/sync.py index 8387e99..abd7e18 100644 --- a/nginx/sync.py +++ b/nginx/sync.py @@ -19,5 +19,5 @@ config = Path("nginx/nginx.conf").read_text().replace("%SERVERS%", servers_inden with_written(config, lambda path: scp(path, "callosum:/etc/nginx/nginx.conf")) -if run(p([*ssh_args(), "nginx", "-t"])).returncode == 0: - run_check(p([*ssh_args(), "systemctl", "restart", "nginx"])) +if run(p([*ssh_args("callosum"), "nginx", "-t"])).returncode == 0: + run_check(p([*ssh_args("callosum"), "systemctl", "restart", "nginx"])) |