Skip to content

Commit

Permalink
Update cert-up.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
andyzhshg authored Jul 28, 2021
1 parent 526b443 commit 3401539
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions cert-up.sh
Original file line number Diff line number Diff line change
Expand Up @@ -90,10 +90,14 @@ reloadWebService () {
echo "MajorVersion < 7"
/usr/syno/etc/rc.sysv/nginx.sh reload
fi
#echo 'relading Apache 2.2'
#stop pkg-apache22
#start pkg-apache22
#reload pkg-apache22
if [ `grep -c "$FIND_MAJORVERSION_STR" $FIND_MAJORVERSION_FILE` -ne '0' ];then
echo "MajorVersion = 7, no need to reload apache"
else
echo 'relading Apache on DSM 6.x'
stop pkg-apache22
start pkg-apache22
reload pkg-apache22
fi
echo 'done reloadWebService'
}

Expand Down

0 comments on commit 3401539

Please sign in to comment.