aboutsummaryrefslogtreecommitdiffstats
path: root/files/usr/local/bin/entrypoint.sh
diff options
context:
space:
mode:
authorDennis Eriksen <dennis@terje.dnns.no>2019-02-09 17:10:55 +0100
committerDennis Eriksen <dennis@terje.dnns.no>2019-02-09 17:10:55 +0100
commit52009d6b05076a2bf081d51191218aa85117e880 (patch)
tree17c33f61e6ed0d46148d5ebde5f8b893fb3a5ddd /files/usr/local/bin/entrypoint.sh
parentfinishing work. davical now works with my setup (diff)
downloaddavical-docker-52009d6b05076a2bf081d51191218aa85117e880.tar.gz
rolling new release. Now with script to add packages needed to roll upgrade
Diffstat (limited to 'files/usr/local/bin/entrypoint.sh')
-rwxr-xr-xfiles/usr/local/bin/entrypoint.sh4
1 files changed, 1 insertions, 3 deletions
diff --git a/files/usr/local/bin/entrypoint.sh b/files/usr/local/bin/entrypoint.sh
index 337e62a..1a95506 100755
--- a/files/usr/local/bin/entrypoint.sh
+++ b/files/usr/local/bin/entrypoint.sh
@@ -1,14 +1,12 @@
#!/bin/sh
# Change apache config
-#sed -i "s/#ServerName www.example.com:80/ServerName $APACHE_SERVER_NAME/" /etc/apache2/httpd.conf
+sed -i "s/#ServerName www.example.com:80/ServerName $APACHE_SERVER_NAME/" /etc/apache2/httpd.conf
sed -i "s/ServerAdmin\ you@example.com/ServerAdmin\ $ADMIN_MAIL/" /etc/apache2/httpd.conf
sed -i 's/ServerSignature On/ServerSignature Off/' /etc/apache2/httpd.conf
sed -i 's#/var/www/localhost/htdocs#/var/www/app/htdocs#g' /etc/apache2/httpd.conf
sed -i "s/#APACHE_SERVER_NAME/$APACHE_SERVER_NAME/" /etc/apache2/conf.d/davical.conf
-echo -e "$APACHE_USERS" > /etc/apache2/davical.htpasswd
-
# Modify php.ini settings
sed -i 's/memory_limit = .*/memory_limit = 256M/' /etc/php7/php.ini
sed -i "s/^;date.timezone =$/date.timezone = \"Europe\/Oslo\"/" /etc/php7/php.ini