1 2 3 4 5 6 7 8
#!/bin/sh set -eu echo "Generating cgitrc..." envsubst < /etc/cgitrc.template > /etc/cgitrc echo "Starting application..." exec "$@"