We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 44759fd commit 5d384c9Copy full SHA for 5d384c9
docs/content/doc/installation/windows-service.en-us.md
@@ -13,6 +13,27 @@ menu:
13
identifier: "windows-service"
14
---
15
16
+# Prerequisites
17
+
18
+The following changes are made in C:\gitea\custom\conf\app.ini:
19
20
+```
21
+RUN_USER = COMPUTERNAME$
22
23
24
+Sets Gitea to run as the local system user.
25
26
+COMPUTERNAME is whatever the response is from `echo %COMPUTERNAME%` on the command line. If the response is `USER-PC` then `RUN_USER = USER-PC$`
27
28
+## Use absolute paths
29
30
+If you use sqlite3, change the `PATH` to include the full path:
31
32
33
+[database]
34
+PATH = c:/gitea/data/gitea.db
35
36
37
# Register as a Windows Service
38
39
To register Gitea as a Windows service, open a command prompt (cmd) as an Administrator,
0 commit comments