We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d5fdcda commit e2b8eadCopy full SHA for e2b8ead
test/restart-ftpd
@@ -11,7 +11,7 @@ if [ "$GETSSL_OS" = "alpine" ]; then
11
elif [[ "$GETSSL_OS" == "centos"[78] || "$GETSSL_OS" == "rockylinux"* ]]; then
12
pgrep vsftpd | head -1 | xargs kill -HUP
13
elif [[ "$GETSSL_OS" == "centos6" ]]; then
14
- service vsftpd "$arg"
+ service vsftpd "$arg" 3>&- 4>&-
15
else
16
service vsftpd restart >/dev/null 3>&- 4>&-
17
fi
test/restart-nginx
@@ -7,7 +7,7 @@ elif [[ "$GETSSL_OS" == "centos"[78] || "$GETSSL_OS" == "rockylinux"* ]]; then
7
pgrep nginx | head -1 | xargs kill -HUP
8
sleep 5
9
10
- service nginx restart
+ service nginx restart 3>&- 4>&-
# service nginx restart
service nginx restart >/dev/null 3>&- 4>&-
0 commit comments