install_sympa.sh: service file for 'wwwsympa' has changed in the source .a.
This commit is contained in:
		| @@ -2973,6 +2973,36 @@ if [[ -f "${_builddir}/src/etc/script/wwsympa.service" ]]; then | ||||
|  | ||||
|    fi | ||||
|  | ||||
| elif [[ -f "${_builddir}/service/wwsympa-spawn-fcgi.service" ]] ; then | ||||
|  | ||||
|    # - Copy wwsympa-spawn-fcgi.service systemd unit file to SYMPA_SYSTEMD_DIR | ||||
|    # - | ||||
|    echo "" >> $_log_file | ||||
|    echo "## - Copy 'wwsympa-spawn-fcgi.service' to '${SYMPA_SYSTEMD_DIR}/wwsympa.service'.." >> $_log_file | ||||
|    echo "## -" >> $_log_file | ||||
|    echo "cp \"${_builddir}/service/wwsympa-spawn-fcgi.service\" \"${SYMPA_SYSTEMD_DIR}/wwsympa.service\"" >> $_log_file | ||||
|    echononl "\tCopy 'wwsympa-spawn-fcgi.service' to '${SYMPA_SYSTEMD_DIR}'.." | ||||
|    cp "${_builddir}/service/wwsympa-spawn-fcgi.service" "${SYMPA_SYSTEMD_DIR}/wwsympa.service" >> $_log_file 2>&1 | ||||
|    if [ "$?" = "0" ]; then | ||||
|       echo_ok | ||||
|    else | ||||
|       echo_failed | ||||
|       error "Copying 'wwsympa-spawn-fcgi.service' to '${SYMPA_SYSTEMD_DIR}/wwsympa.service' failed! \n | ||||
|                      See '$_log_file' for further informations." | ||||
|       echononl "continue anyway [yes/no]: " | ||||
|       read OK | ||||
|       OK="$(echo "$OK" | tr '[:upper:]' '[:lower:]')" | ||||
|       while [[ "$OK" != "yes" ]] && [[  "$OK" != "no" ]] ; do | ||||
|          echononl "Wrong entry! - repeat [yes/no]: " | ||||
|          read OK | ||||
|       done | ||||
|       [[ $OK = "yes" ]] || fatal "Abbruch durch User" | ||||
|  | ||||
|    fi | ||||
|  | ||||
| fi | ||||
|  | ||||
| if [[ -f "${SYMPA_SYSTEMD_DIR}/wwsympa.service" ]] ; then | ||||
|    # - Adjust unit file wwsympa.service | ||||
|    # - | ||||
|    _failed=false | ||||
|   | ||||
		Reference in New Issue
	
	Block a user