adding missing lines from alternc.install wheezy in jessie version.
This commit is contained in:
parent
80ec8fc748
commit
3f9d2c2729
|
@ -320,7 +320,7 @@ if [ -x /usr/sbin/apache2 ]; then
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# We enable dovecot SSL certificate instructions: (on wheezy we should use a new file in /etc/dovecot/conf.d/ )
|
# We enable dovecot SSL certificate instructions: (on wheezy we should use a new file in /etc/dovecot/conf.d/ )
|
||||||
( echo "ssl_cert = </etc/alternc/apache.pem" ; echo "ssl_key = </etc/alternc/apache.pem" ) >/etc/dovecot/conf.d/96_ssl.conf
|
( echo "# Don't change this file, it will be overwriten by alternc.install. Change ssl parameters in a file named 99_ssl.conf instead" ; echo "ssl_cert = </etc/alternc/apache.pem" ; echo "ssl_key = </etc/alternc/apache.pem" ) >/etc/dovecot/conf.d/96_ssl.conf
|
||||||
|
|
||||||
else
|
else
|
||||||
# We disable proftpd tls module
|
# We disable proftpd tls module
|
||||||
|
@ -329,7 +329,7 @@ if [ -x /usr/sbin/apache2 ]; then
|
||||||
cp /etc/proftpd/modules.conf /etc/alternc/templates/proftpd/
|
cp /etc/proftpd/modules.conf /etc/alternc/templates/proftpd/
|
||||||
|
|
||||||
# We disable dovecot SSL certificate instructions: (on wheezy we should remove a file in /etc/dovecot/conf.d/ )
|
# We disable dovecot SSL certificate instructions: (on wheezy we should remove a file in /etc/dovecot/conf.d/ )
|
||||||
( echo "ssl_cert = </etc/ssl/certs/ssl-cert-snakeoil.pem" ; echo "ssl_key = </etc/ssl/private/ssl-cert-snakeoil.key" ) >/etc/dovecot/conf.d/96_ssl.conf
|
( echo "# Don't change this file, it will be overwriten by alternc.install. Change ssl parameters in a file named 99_ssl.conf instead" ; echo "ssl_cert = </etc/ssl/certs/ssl-cert-snakeoil.pem" ; echo "ssl_key = </etc/ssl/private/ssl-cert-snakeoil.key" ) >/etc/dovecot/conf.d/96_ssl.conf
|
||||||
|
|
||||||
echo "SSL not configured"
|
echo "SSL not configured"
|
||||||
echo "create a certificate in /etc/alternc/apache.pem and rerun alternc.install"
|
echo "create a certificate in /etc/alternc/apache.pem and rerun alternc.install"
|
||||||
|
@ -636,10 +636,10 @@ done
|
||||||
# Fix some perms
|
# Fix some perms
|
||||||
# Fix phpmyadmin import trac#1557
|
# Fix phpmyadmin import trac#1557
|
||||||
test -d "/var/lib/phpmyadmin/tmp" && dpkg-statoverride --update --add www-data alterncpanel 0775 "/var/lib/phpmyadmin/tmp" 2>/dev/null || true
|
test -d "/var/lib/phpmyadmin/tmp" && dpkg-statoverride --update --add www-data alterncpanel 0775 "/var/lib/phpmyadmin/tmp" 2>/dev/null || true
|
||||||
|
test -d "/etc/phpmyadmin/config-db.php" && dpkg-statoverride --update --add www-data alterncpanel 0644 "/etc/phpmyadmin/config-db.php" 2>/dev/null || true
|
||||||
|
|
||||||
# hook
|
# hook
|
||||||
run-parts --arg=end /usr/lib/alternc/install.d
|
run-parts --arg=end /usr/lib/alternc/install.d
|
||||||
test -d "/etc/phpmyadmin/config-db.php" && dpkg-statoverride --update --add www-data alterncpanel 0644 "/etc/phpmyadmin/config-db.php" 2>/dev/null || true
|
|
||||||
|
|
||||||
# Unlock jobs !
|
# Unlock jobs !
|
||||||
unlock_jobs
|
unlock_jobs
|
||||||
|
|
Loading…
Reference in New Issue