replace dummy nginx reload cmd
This commit is contained in:
parent
e56c2fadb7
commit
075f40f72c
1 changed files with 2 additions and 2 deletions
|
@ -158,9 +158,9 @@ def up(dehydrated_only: bool, skip_master_check: bool):
|
|||
if (first_part := target.split("/")[0]) and (
|
||||
remote := first_part.split(":")[0]
|
||||
):
|
||||
ec, stdout = sysaction.run_shell(("ssh", "-T", remote, "echo 1"))
|
||||
ec, stdout = sysaction.run_shell(("ssh", "-T", remote, "nginx -s"))
|
||||
else:
|
||||
ec, stdout = sysaction.run_shell(("echo", "1"))
|
||||
ec, stdout = sysaction.run_shell(("nginx", "-s"))
|
||||
|
||||
if ec != 0:
|
||||
step.echo(click.style(" E", fg="red"))
|
||||
|
|
Loading…
Reference in a new issue