2020-12-06 16:48:42 +00:00
|
|
|
--- a/custom/conf/app.example.ini
|
|
|
|
+++ b/custom/conf/app.example.ini
|
2021-07-19 16:53:44 +00:00
|
|
|
@@ -9,7 +9,7 @@
|
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
|
2020-12-06 16:48:42 +00:00
|
|
|
; Application run mode, affects performance and debugging. Either "dev", "prod" or "test", default is "prod"
|
|
|
|
RUN_MODE = prod
|
2021-07-19 16:53:44 +00:00
|
|
|
|
|
|
|
@@ -20,7 +20,7 @@ PROJECT_BOARD_BUG_TRIAGE_TYPE = Needs Triage, High Priority, Low Priority, Close
|
|
|
|
|
2019-08-03 00:34:22 +00:00
|
|
|
[repository]
|
2021-07-19 16:53:44 +00:00
|
|
|
; Root path for storing all repository data. It must be an absolute path. By default it is stored in a sub-directory of `APP_DATA_PATH`.
|
2019-08-03 00:34:22 +00:00
|
|
|
-ROOT =
|
|
|
|
+ROOT = /var/lib/gitea/repos
|
2021-07-19 16:53:44 +00:00
|
|
|
; The script type this server supports. Usually this is `bash`, but some users report that only `sh` is available.
|
2019-08-03 00:34:22 +00:00
|
|
|
SCRIPT_TYPE = bash
|
2020-12-06 16:48:42 +00:00
|
|
|
; DETECTED_CHARSETS_ORDER tie-break order for detected charsets.
|
2021-07-19 16:53:44 +00:00
|
|
|
@@ -442,7 +442,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)
|
2021-07-19 16:53:44 +00:00
|
|
|
@@ -875,10 +875,10 @@ FORMAT =
|
2019-11-25 00:19:31 +00:00
|
|
|
DEFAULT_UI_LOCATION =
|
2021-07-19 16:53:44 +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
|
2021-07-19 16:53:44 +00:00
|
|
|
; Either "Trace", "Debug", "Info", "Warn", "Error", "Critical", default is "Info"
|
|
|
|
@@ -901,7 +901,7 @@ COLORIZE = false
|
|
|
|
|
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
|
2021-07-19 16:53:44 +00:00
|
|
|
|
2019-08-03 00:34:22 +00:00
|
|
|
; For "file" mode only
|