diff options
Diffstat (limited to 'nginx/sync.py')
-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"])) |