Skip to content

Commit 5d384c9

Browse files
ve3lunny
authored andcommitted
Add Prerequisites (#5734)
Add set system user guide. Add absolute path for sqlite3 guide.
1 parent 44759fd commit 5d384c9

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

docs/content/doc/installation/windows-service.en-us.md

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,27 @@ menu:
1313
identifier: "windows-service"
1414
---
1515

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+
1637
# Register as a Windows Service
1738

1839
To register Gitea as a Windows service, open a command prompt (cmd) as an Administrator,

0 commit comments

Comments
 (0)