67 lines
2.0 KiB
Diff
67 lines
2.0 KiB
Diff
From 76b1b0b0933eb352f90b4d841f328acc8f632eff Mon Sep 17 00:00:00 2001
|
|
From: Martchus <martchus@gmx.net>
|
|
Date: Sun, 19 Mar 2017 18:03:36 +0100
|
|
Subject: [PATCH 1/2] Adjust config for Arch Linux package
|
|
|
|
---
|
|
conf/app.ini | 14 +++++++-------
|
|
1 file changed, 7 insertions(+), 7 deletions(-)
|
|
|
|
diff --git a/conf/app.ini b/conf/app.ini
|
|
index 1390d453..1ff5acef 100644
|
|
--- a/conf/app.ini
|
|
+++ b/conf/app.ini
|
|
@@ -1,12 +1,12 @@
|
|
; App name that shows on 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
|
|
|
|
[repository]
|
|
-ROOT =
|
|
+ROOT = /var/lib/gitea/repos
|
|
SCRIPT_TYPE = bash
|
|
; Default ANSI charset
|
|
ANSI_CHARSET =
|
|
@@ -127,13 +127,13 @@ DISABLE_ROUTER_LOG = false
|
|
; not forget to export the private key):
|
|
; $ openssl pkcs12 -in cert.pfx -out cert.pem -nokeys
|
|
; $ openssl pkcs12 -in cert.pfx -out key.pem -nocerts -nodes
|
|
-CERT_FILE = custom/https/cert.pem
|
|
-KEY_FILE = custom/https/key.pem
|
|
+CERT_FILE = /var/lib/gitea/cert/cert.pem
|
|
+KEY_FILE = /var/lib/gitea/cert/key.pem
|
|
; Upper level of template and static file path
|
|
; default is the path where Gitea is executed
|
|
STATIC_ROOT_PATH =
|
|
; Default path for App data
|
|
-APP_DATA_PATH = data
|
|
+APP_DATA_PATH = /var/lib/gitea/data
|
|
; Application level GZIP support
|
|
ENABLE_GZIP = false
|
|
; Landing page for non-logged users, can be "home" or "explore"
|
|
@@ -156,7 +156,7 @@ PASSWD =
|
|
; For "postgres" only, either "disable", "require" or "verify-full"
|
|
SSL_MODE = disable
|
|
; For "sqlite3" and "tidb", use absolute path when you start as service
|
|
-PATH = data/gitea.db
|
|
+PATH = /var/lib/gitea/gitea.db
|
|
|
|
[indexer]
|
|
ISSUE_INDEXER_PATH = indexers/issues.bleve
|
|
@@ -310,7 +310,7 @@ MAX_FILES = 5
|
|
FORMAT =
|
|
|
|
[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
|
|
--
|
|
2.13.1
|
|
|