avoid unnecessary kill & fix reload command

This commit is contained in:
Neil 2016-01-13 11:54:00 +08:00
parent 30dbdbbde9
commit 7bc5e3bb5c

4
le.sh
View File

@ -362,6 +362,7 @@ Require all granted
_clearup () { _clearup () {
_stopserver $serverproc _stopserver $serverproc
serverproc=""
_restoreApache _restoreApache
} }
@ -582,6 +583,7 @@ issue() {
done done
_stopserver $serverproc _stopserver $serverproc
serverproc=""
done done
_clearup _clearup
_info "Verify finished, start to sign." _info "Verify finished, start to sign."
@ -664,7 +666,7 @@ issue() {
if [ "$Le_ReloadCmd" ] ; then if [ "$Le_ReloadCmd" ] ; then
_info "Run Le_ReloadCmd: $Le_ReloadCmd" _info "Run Le_ReloadCmd: $Le_ReloadCmd"
"$Le_ReloadCmd" $Le_ReloadCmd
fi fi
} }