gitroast/docker/templates/init_gogs.sh.tpl

13 lines
153 B
Smarty

#!/bin/sh
if [ ! -d "$GOGS_CUSTOM_CONF_PATH" ]; then
mkdir -p $GOGS_CUSTOM_CONF_PATH
echo "
{{ CONFIG }}
" >> $GOGS_CUSTOM_CONF
fi
exec "$@"