diff --git a/domain_admin/utils/fabric_util.py b/domain_admin/utils/fabric_util.py index a6bbb51e36..d64ea9bbf1 100644 --- a/domain_admin/utils/fabric_util.py +++ b/domain_admin/utils/fabric_util.py @@ -23,7 +23,7 @@ # 重启nginx 'service nginx force-reload', # docker 下的重启命令 @since 1.5.30 - 'docker exec -it nginx nginx -s reload', + 'docker exec -id nginx nginx -s reload', # 红帽系reload @since 1.5.31 'systemctl reload nginx', 'systemctl reload openresty',