1
Fork 1
mirror of https://git.lolcat.ca/lolcat/4get.git synced 2024-09-13 17:28:08 -04:00
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