install_roundcube.sh: some minpr changes..
This commit is contained in:
parent
7b2bce7f7f
commit
4a2d2a698e
@ -272,6 +272,7 @@ DEFAULT_HTTP_GROUP="www-data"
|
|||||||
DEFAULT_APACHE_LOG_DIR="/var/log/apache2"
|
DEFAULT_APACHE_LOG_DIR="/var/log/apache2"
|
||||||
DEFAULT_WEBSITE_BASEDIR="/var/www/${WEBSITE_NAME}"
|
DEFAULT_WEBSITE_BASEDIR="/var/www/${WEBSITE_NAME}"
|
||||||
DEFAULT_ROUNDCUBE_TMPDIR="${DEFAULT_WEBSITE_BASEDIR}/temp"
|
DEFAULT_ROUNDCUBE_TMPDIR="${DEFAULT_WEBSITE_BASEDIR}/temp"
|
||||||
|
DEFAULT_SKIN_LOGO="images/oopen-logo.png"
|
||||||
DEFAULT_DEBIAN_APACHE_CERT_DIR="/etc/apache2"
|
DEFAULT_DEBIAN_APACHE_CERT_DIR="/etc/apache2"
|
||||||
DEFAULT_APACHE_CERT_DIR="/usr/local/apache2/conf"
|
DEFAULT_APACHE_CERT_DIR="/usr/local/apache2/conf"
|
||||||
DEFAULT_APACHE_SERVER_CERT="server-bundle.crt"
|
DEFAULT_APACHE_SERVER_CERT="server-bundle.crt"
|
||||||
@ -296,6 +297,8 @@ HOSTNAME_SHORT=${_tmp_string%%.*}
|
|||||||
|
|
||||||
[[ -n "$ROUNDCUBE_TMPDIR" ]] || ROUNDCUBE_TMPDIR="$DEFAULT_ROUNDCUBE_TMPDIR"
|
[[ -n "$ROUNDCUBE_TMPDIR" ]] || ROUNDCUBE_TMPDIR="$DEFAULT_ROUNDCUBE_TMPDIR"
|
||||||
|
|
||||||
|
[[ -n "$SKIN_LOGO" ]] || SKIN_LOGO="$DEFAULT_SKIN_LOGO"
|
||||||
|
|
||||||
if [[ -z "$IPV4" ]] && [[ -z "$IPV6" ]] ; then
|
if [[ -z "$IPV4" ]] && [[ -z "$IPV6" ]] ; then
|
||||||
fatal "Neither an IPv4 nor an IPv6 address are given.!"
|
fatal "Neither an IPv4 nor an IPv6 address are given.!"
|
||||||
else
|
else
|
||||||
@ -1900,6 +1903,8 @@ else
|
|||||||
echo_failed
|
echo_failed
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
echononl "\tSet.. 'des_key', 'login_autocomplete', and more.."
|
echononl "\tSet.. 'des_key', 'login_autocomplete', and more.."
|
||||||
cat <<EOF >>$WEBSITE_BASEDIR/roundcubemail-${ROUNDCUBE_VERSION}/config/config.inc.php 2> $log_file
|
cat <<EOF >>$WEBSITE_BASEDIR/roundcubemail-${ROUNDCUBE_VERSION}/config/config.inc.php 2> $log_file
|
||||||
|
|
||||||
@ -1907,6 +1912,23 @@ cat <<EOF >>$WEBSITE_BASEDIR/roundcubemail-${ROUNDCUBE_VERSION}/config/config.in
|
|||||||
// Added after basic installation
|
// Added after basic installation
|
||||||
// ==================================
|
// ==================================
|
||||||
|
|
||||||
|
\$config['skin_logo'] = '${SKIN_LOGO}';
|
||||||
|
|
||||||
|
|
||||||
|
// use this folder to store log files
|
||||||
|
// must be writeable for the user who runs PHP process (Apache user if mod_php is being used)
|
||||||
|
// This is used by the 'file' log driver.
|
||||||
|
\$config['log_dir'] = '${WEBSITE_BASEDIR}/logs';
|
||||||
|
|
||||||
|
// Location of temporary saved files such as attachments and cache files
|
||||||
|
// must be writeable for the user who runs PHP process (Apache user if mod_php is being used)
|
||||||
|
\$config['temp_dir'] = '${ROUNDCUBE_TMPDIR}';
|
||||||
|
|
||||||
|
// provide an URL where a user can get support for this Roundcube installation
|
||||||
|
// PLEASE DO NOT LINK TO THE ROUNDCUBE.NET WEBSITE HERE!
|
||||||
|
\$config['support_url'] = '${SUPPORT_URL}';
|
||||||
|
|
||||||
|
|
||||||
// This key is used for encrypting purposes, like storing of imap password
|
// This key is used for encrypting purposes, like storing of imap password
|
||||||
// in the session. For historical reasons it's called DES_key, but it's used
|
// in the session. For historical reasons it's called DES_key, but it's used
|
||||||
// with any configured cipher_method (see below).
|
// with any configured cipher_method (see below).
|
||||||
|
Loading…
Reference in New Issue
Block a user