File tree Expand file tree Collapse file tree 2 files changed +6
-0
lines changed
Expand file tree Collapse file tree 2 files changed +6
-0
lines changed Original file line number Diff line number Diff line change 5959# Replace app.ini settings with env variables in the form GITEA__SECTION_NAME__KEY_NAME
6060environment-to-ini --config ${GITEA_CUSTOM} /conf/app.ini
6161
62+ # Create public folder so the user knows where things such as robots.txt should go
63+ mkdir -p ${GITEA_CUSTOM} /public
64+
6265# only chown if current owner is not already the gitea ${USER}. No recursive check to save time
6366if ! [[ $( ls -ld /data/gitea | awk ' {print $3}' ) = ${USER} ]]; then chown -R ${USER} :git /data/gitea; fi
6467if ! [[ $( ls -ld /app/gitea | awk ' {print $3}' ) = ${USER} ]]; then chown -R ${USER} :git /app/gitea; fi
Original file line number Diff line number Diff line change 4949
5050# Replace app.ini settings with env variables in the form GITEA__SECTION_NAME__KEY_NAME
5151environment-to-ini --config ${GITEA_APP_INI}
52+
53+ # Create public folder so the user knows where things such as robots.txt should go
54+ mkdir -p ${GITEA_CUSTOM} /public
You can’t perform that action at this time.
0 commit comments