diff options
author | kageru | 2021-05-29 18:43:42 +0200 |
---|---|---|
committer | kageru | 2021-05-29 18:52:17 +0200 |
commit | 2d6ef69d24e47beb06465f1affbd8d4ea3f4d424 (patch) | |
tree | 394761bbf9a3b5196e6ac7c83f1df9fcdabb2c20 /app.ini | |
parent | 6a9abaff13e9d8bec0c2a66d82f6fcb000783b1d (diff) | |
download | aur-2d6ef69d24e47beb06465f1affbd8d4ea3f4d424.tar.gz |
Provide config changes as standalone config
...because upstream gitea no longer provides a working default config
and instead expects the user to define only the relevant options.
Also set the upstream branch because they switched from master to main
Diffstat (limited to 'app.ini')
-rw-r--r-- | app.ini | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/app.ini b/app.ini new file mode 100644 index 000000000000..ec4ff4ac5ae2 --- /dev/null +++ b/app.ini @@ -0,0 +1,20 @@ +; Gitea no longer contains a default config file +; and instead expects the user to only define +; the settings they want to change. +; This file contains the settings that +; used to be in gitea-arch-defaults.patch + +RUN_USER = gitea + +[repository] +ROOT = /var/lib/gitea/repos +; set this here so the default isn’t sneakily changed upstream +DEFAULT_BRANCH = master + +[database] +LOG_SQL = false + +[log] +ROOT_PATH = /var/log/gitea/ +MODE = console, file +LEVEL = Info |