summaryrefslogtreecommitdiff
path: root/docker/docker-entrypoint.sh
blob: 939e59b25e1925860c571ad000680ee750db18e7 (plain)
1
2
3
4
5
#!/bin/sh
set -e
sed -i "s/ServerName.*/ServerName ${FOURGET_SERVER_NAME}/g" /etc/apache2/httpd.conf
sed -i "s/ServerAdmin.*/ServerAdmin ${FOURGET_SERVER_ADMIN_EMAIL}/g" /etc/apache2/httpd.conf
exec httpd -DFOREGROUND