File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ if [ "$GETSSL_OS" = "alpine" ]; then
11
11
elif [[ " $GETSSL_OS " == " centos" [78] || " $GETSSL_OS " == " rockylinux" * ]]; then
12
12
pgrep vsftpd | head -1 | xargs kill -HUP
13
13
elif [[ " $GETSSL_OS " == " centos6" ]]; then
14
- service vsftpd " $arg "
14
+ service vsftpd " $arg " 3>& - 4>& -
15
15
else
16
16
service vsftpd restart > /dev/null 3>& - 4>& -
17
17
fi
Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ elif [[ "$GETSSL_OS" == "centos"[78] || "$GETSSL_OS" == "rockylinux"* ]]; then
7
7
pgrep nginx | head -1 | xargs kill -HUP
8
8
sleep 5
9
9
elif [[ " $GETSSL_OS " == " centos6" ]]; then
10
- service nginx restart
10
+ service nginx restart 3>& - 4>& -
11
11
# service nginx restart
12
12
else
13
13
service nginx restart > /dev/null 3>& - 4>& -
You can’t perform that action at this time.
0 commit comments