install_update_dovecot.sh: stop dovecot service *after* compiling, not before.
This commit is contained in:
parent
c5654d3d84
commit
6576a6a12c
@ -735,6 +735,17 @@ else
|
|||||||
fatal Configuring dovecot failed
|
fatal Configuring dovecot failed
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
## - Compile dovecot
|
||||||
|
## -
|
||||||
|
echononl "\tCompile Dovecot Sources.."
|
||||||
|
make > ${_log_dir}/dovecot-${_version}-make.log 2>&1 || clean_up 1
|
||||||
|
if [ "$?" = 0 ]; then
|
||||||
|
echo -e "$rc_done"
|
||||||
|
else
|
||||||
|
echo -e "$rc_failed"
|
||||||
|
fatal Compiling dovecot failed
|
||||||
|
fi
|
||||||
|
|
||||||
|
|
||||||
## -----------------
|
## -----------------
|
||||||
## --- Stop dovecot if running
|
## --- Stop dovecot if running
|
||||||
@ -756,17 +767,6 @@ else
|
|||||||
echo -e "$rc_skipped"
|
echo -e "$rc_skipped"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
## - Compile dovecot
|
|
||||||
## -
|
|
||||||
echononl "\tCompile Dovecot Sources.."
|
|
||||||
make > ${_log_dir}/dovecot-${_version}-make.log 2>&1 || clean_up 1
|
|
||||||
if [ "$?" = 0 ]; then
|
|
||||||
echo -e "$rc_done"
|
|
||||||
else
|
|
||||||
echo -e "$rc_failed"
|
|
||||||
fatal Compiling dovecot failed
|
|
||||||
fi
|
|
||||||
|
|
||||||
## - Install dovecot
|
## - Install dovecot
|
||||||
## -
|
## -
|
||||||
echononl "\tInstall Dovecot into Folder /usr/local/dovecot-${_version}"
|
echononl "\tInstall Dovecot into Folder /usr/local/dovecot-${_version}"
|
||||||
|
Loading…
Reference in New Issue
Block a user