Remove session config now that migration is done

This commit is contained in:
Girish Ramakrishnan 2019-08-19 20:11:47 -07:00
parent 3adbf0b442
commit 29197622fc
1 changed files with 0 additions and 7 deletions

View File

@ -119,13 +119,6 @@ crudini --set "/run/gitea/app.ini" log MODE "console"
crudini --set "/run/gitea/app.ini" log ROOT_PATH "/run/gitea" crudini --set "/run/gitea/app.ini" log ROOT_PATH "/run/gitea"
crudini --set "/run/gitea/app.ini" indexer ISSUE_INDEXER_PATH "/app/data/appdata/indexers/issues.bleve" crudini --set "/run/gitea/app.ini" indexer ISSUE_INDEXER_PATH "/app/data/appdata/indexers/issues.bleve"
# this can be removed in the next release
crudini --set "/run/gitea/app.ini" session PROVIDER "file"
crudini --set "/run/gitea/app.ini" session PROVIDER_CONFIG "/run/gitea/sessions"
crudini --set "/run/gitea/app.ini" session COOKIE_SECURE "true"
crudini --set "/run/gitea/app.ini" session COOKIE_NAME "cloudron_gitea"
crudini --set "/run/gitea/app.ini" session GC_INTERVAL_TIME 2592000
echo "==> Creating dirs and changing permissions" echo "==> Creating dirs and changing permissions"
mkdir -p /app/data/repository /app/data/ssh /app/data/custom mkdir -p /app/data/repository /app/data/ssh /app/data/custom
chown -R git:git /app/data /run/gitea chown -R git:git /app/data /run/gitea