mirror of
https://github.com/plantroon/acme.sh.git
synced 2024-12-22 13:11:41 +00:00
avoid unnecessary kill & fix reload command
This commit is contained in:
parent
30dbdbbde9
commit
7bc5e3bb5c
4
le.sh
4
le.sh
@ -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
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user