forked from lolcat/4get
1
0
Fork 0
4get/docker/docker-entrypoint.sh

6 lines
218 B
Bash
Raw Normal View History

#!/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