PKGBUILDs/community/gitea/gitea-arch-defaults.patch

59 lines
1.5 KiB
Diff
Raw Normal View History

2019-08-03 00:34:22 +00:00
--- a/custom/conf/app.ini.sample
+++ b/custom/conf/app.ini.sample
2019-08-07 13:41:51 +00:00
@@ -8,12 +8,12 @@
2019-08-03 00:34:22 +00:00
; App name that shows in every page title
APP_NAME = Gitea: Git with a cup of tea
; Change it if you run locally
-RUN_USER = git
+RUN_USER = gitea
; Either "dev", "prod" or "test", default is "dev"
-RUN_MODE = dev
+RUN_MODE = prod
2019-08-07 13:41:51 +00:00
2019-08-03 00:34:22 +00:00
[repository]
-ROOT =
+ROOT = /var/lib/gitea/repos
SCRIPT_TYPE = bash
; Default ANSI charset
ANSI_CHARSET =
2020-04-02 22:02:15 +00:00
@@ -280,7 +280,7 @@ CERT_FILE = https/cert.pem
KEY_FILE = https/key.pem
; Root directory containing templates and static files.
; default is the path where Gitea is executed
-STATIC_ROOT_PATH =
+STATIC_ROOT_PATH = /usr/share/gitea
; Default path for App data
APP_DATA_PATH = data
; Application level GZIP support
2020-02-14 23:40:38 +00:00
@@ -342,7 +342,7 @@ SQLITE_TIMEOUT = 500
2019-08-03 00:34:22 +00:00
; For iterate buffer, default is 50
ITERATE_BUFFER_SIZE = 50
; Show the database generated SQL
-LOG_SQL = true
+LOG_SQL = false
; Maximum number of DB Connect retries
DB_RETRIES = 10
; Backoff time per DB retry (time.Duration)
2020-02-14 23:40:38 +00:00
@@ -697,10 +697,10 @@ FORMAT =
2019-11-25 00:19:31 +00:00
DEFAULT_UI_LOCATION =
2019-08-07 13:41:51 +00:00
2019-08-03 00:34:22 +00:00
[log]
-ROOT_PATH =
+ROOT_PATH = /var/log/gitea/
; Either "console", "file", "conn", "smtp" or "database", default is "console"
; Use comma to separate multiple modes, e.g. "console, file"
-MODE = console
+MODE = console, file
; Buffer length of the channel, keep it as it is if you don't know what it is.
BUFFER_LEN = 10000
2019-08-07 13:41:51 +00:00
REDIRECT_MACARON_LOG = false
2020-02-14 23:40:38 +00:00
@@ -725,7 +725,7 @@ COLORIZE = false
2019-08-07 13:41:51 +00:00
2019-08-03 00:34:22 +00:00
; For "console" mode only
[log.console]
-LEVEL =
+LEVEL = Info
2019-08-07 13:41:51 +00:00
STDERR = false
2019-08-03 00:34:22 +00:00
; For "file" mode only