35 lines
1.3 KiB
Diff
35 lines
1.3 KiB
Diff
diff --git a/custom/conf/app.example.ini b/custom/conf/app.example.ini
|
|
index a7476ad..bc86fb3 100644
|
|
--- a/custom/conf/app.example.ini
|
|
+++ b/custom/conf/app.example.ini
|
|
@@ -288,10 +288,10 @@ RUN_USER = ; git
|
|
;;
|
|
;; Root directory containing templates and static files.
|
|
;; default is the path where Gitea is executed
|
|
-;STATIC_ROOT_PATH = ; Will default to the built-in value _`StaticRootPath`_
|
|
+STATIC_ROOT_PATH = /usr/share/gitea
|
|
;;
|
|
;; Default path for App data
|
|
-;APP_DATA_PATH = data ; relative paths will be made absolute with _`AppWorkPath`_
|
|
+APP_DATA_PATH = /var/lib/gitea/data
|
|
;;
|
|
;; Base path for App's temp files, leave empty to use the managed tmp directory in APP_DATA_PATH
|
|
;APP_TEMP_PATH =
|
|
@@ -595,14 +595,14 @@ ENABLED = true
|
|
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
;; Root path for the log files - defaults to "{AppWorkPath}/log"
|
|
-;ROOT_PATH =
|
|
+ROOT_PATH = /var/log/gitea
|
|
;;
|
|
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
;; Main Logger
|
|
;;
|
|
;; Either "console", "file" or "conn", default is "console"
|
|
;; Use comma to separate multiple modes, e.g. "console, file"
|
|
-MODE = console
|
|
+MODE = console, file
|
|
;;
|
|
;; Either "Trace", "Debug", "Info", "Warn", "Error" or "None", default is "Info"
|
|
LEVEL = Info
|