diff --git a/test/restart-ftpd b/test/restart-ftpd index a212b78..768ff93 100755 --- a/test/restart-ftpd +++ b/test/restart-ftpd @@ -11,7 +11,7 @@ if [ "$GETSSL_OS" = "alpine" ]; then elif [[ "$GETSSL_OS" == "centos"[78] || "$GETSSL_OS" == "rockylinux"* ]]; then pgrep vsftpd | head -1 | xargs kill -HUP elif [[ "$GETSSL_OS" == "centos6" ]]; then - service vsftpd "$arg" + service vsftpd "$arg" 3>&- 4>&- else service vsftpd restart >/dev/null 3>&- 4>&- fi diff --git a/test/restart-nginx b/test/restart-nginx index 25bbca4..0817087 100755 --- a/test/restart-nginx +++ b/test/restart-nginx @@ -7,7 +7,7 @@ elif [[ "$GETSSL_OS" == "centos"[78] || "$GETSSL_OS" == "rockylinux"* ]]; then pgrep nginx | head -1 | xargs kill -HUP sleep 5 elif [[ "$GETSSL_OS" == "centos6" ]]; then - service nginx restart + service nginx restart 3>&- 4>&- # service nginx restart else service nginx restart >/dev/null 3>&- 4>&-