mirror of
https://bitbucket.org/jsuto/piler.git
synced 2024-11-08 00:51:59 +01:00
Fixed focal.sh
Signed-off-by: Janos SUTO <sj@acts.hu>
This commit is contained in:
parent
09dfc73e19
commit
828964ec4c
@ -19,7 +19,7 @@ MYSQL_USERNAME="piler"
|
|||||||
|
|
||||||
SPHINX_TARGZ="sphinx-3.3.1-bin.tar.gz"
|
SPHINX_TARGZ="sphinx-3.3.1-bin.tar.gz"
|
||||||
DOWNLOAD_URL="https://download.mailpiler.com"
|
DOWNLOAD_URL="https://download.mailpiler.com"
|
||||||
PILER_DEB="piler_1.3.12-focal-a1b71bdd_amd64.deb"
|
PILER_DEB="piler_1.3.12-focal-09dfc73e_amd64.deb"
|
||||||
PILER_USER="piler"
|
PILER_USER="piler"
|
||||||
CONFIG_SITE_PHP="/etc/piler/config-site.php"
|
CONFIG_SITE_PHP="/etc/piler/config-site.php"
|
||||||
|
|
||||||
@ -143,6 +143,8 @@ fix_configs() {
|
|||||||
chown $PILER_USER:$PILER_USER /etc/piler/piler.conf
|
chown $PILER_USER:$PILER_USER /etc/piler/piler.conf
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
sed -i 's/tls_enable=0/tls_enable=1/g' /etc/piler/piler.conf
|
||||||
|
|
||||||
sed -i -e "s/MYSQL_HOSTNAME/${MYSQL_HOSTNAME}/g" \
|
sed -i -e "s/MYSQL_HOSTNAME/${MYSQL_HOSTNAME}/g" \
|
||||||
-e "s/MYSQL_DATABASE/${MYSQL_DATABASE}/g" \
|
-e "s/MYSQL_DATABASE/${MYSQL_DATABASE}/g" \
|
||||||
-e "s/MYSQL_USERNAME/${MYSQL_USERNAME}/g" \
|
-e "s/MYSQL_USERNAME/${MYSQL_USERNAME}/g" \
|
||||||
|
Loading…
Reference in New Issue
Block a user