install_update_dovecot.sh: stop dovecot service *after* compiling, not before.
This commit is contained in:
		| @@ -735,6 +735,17 @@ else | ||||
|    fatal Configuring dovecot failed | ||||
| 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 | ||||
| @@ -756,17 +767,6 @@ else | ||||
|    echo -e "$rc_skipped" | ||||
| 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 | ||||
| ## - | ||||
| echononl "\tInstall Dovecot into Folder /usr/local/dovecot-${_version}" | ||||
|   | ||||
		Reference in New Issue
	
	Block a user