forked from gitea/gitea
1
0
Fork 0
gitea/docker/templates/init_gogs.sh.tpl

13 lines
141 B
Smarty

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