Remove fallback for old code
This commit is contained in:
parent
4c56c25800
commit
edd5411edc
5
start.sh
5
start.sh
|
@ -38,12 +38,7 @@ sed -e "s/##DOMAIN/${APP_DOMAIN}/g" \
|
||||||
-e "s/##SECRET_KEY/$(pwgen -1 -s)/g" \
|
-e "s/##SECRET_KEY/$(pwgen -1 -s)/g" \
|
||||||
/home/cloudron/app.ini.template > "/run/gogs/app.ini"
|
/home/cloudron/app.ini.template > "/run/gogs/app.ini"
|
||||||
|
|
||||||
if [[ ! -d /app/data/repository ]]; then
|
|
||||||
mkdir -p /app/data/repository /app/data/ssh
|
mkdir -p /app/data/repository /app/data/ssh
|
||||||
mv /app/data/* /app/data/repository
|
|
||||||
else
|
|
||||||
mkdir -p /app/data/repository /app/data/ssh
|
|
||||||
fi
|
|
||||||
|
|
||||||
chown -R cloudron.cloudron /app/data /run/gogs
|
chown -R cloudron.cloudron /app/data /run/gogs
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue