diff options
author | vee w <kawewong@gmail.com> | 2019-01-16 21:43:26 +0700 |
---|---|---|
committer | Lunny Xiao <xiaolunwen@gmail.com> | 2019-01-16 22:43:26 +0800 |
commit | 5d384c943f71a9277a78c2a4f9307f171e39ae31 (patch) | |
tree | b2b3c4e701f1a897a0bea20459b60b26a05fd049 /docs | |
parent | 44759fd66c30ca30d5cc30285c017258c19d7cad (diff) | |
download | gitea-5d384c943f71a9277a78c2a4f9307f171e39ae31.tar.gz gitea-5d384c943f71a9277a78c2a4f9307f171e39ae31.zip |
Add Prerequisites (#5734)
Add set system user guide.
Add absolute path for sqlite3 guide.
Diffstat (limited to 'docs')
-rw-r--r-- | docs/content/doc/installation/windows-service.en-us.md | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/docs/content/doc/installation/windows-service.en-us.md b/docs/content/doc/installation/windows-service.en-us.md index 4955204d06..9f2968ae02 100644 --- a/docs/content/doc/installation/windows-service.en-us.md +++ b/docs/content/doc/installation/windows-service.en-us.md @@ -13,6 +13,27 @@ menu: identifier: "windows-service" --- +# Prerequisites + +The following changes are made in C:\gitea\custom\conf\app.ini: + +``` +RUN_USER = COMPUTERNAME$ +``` + +Sets Gitea to run as the local system user. + +COMPUTERNAME is whatever the response is from `echo %COMPUTERNAME%` on the command line. If the response is `USER-PC` then `RUN_USER = USER-PC$` + +## Use absolute paths + +If you use sqlite3, change the `PATH` to include the full path: + +``` +[database] +PATH = c:/gitea/data/gitea.db +``` + # Register as a Windows Service To register Gitea as a Windows service, open a command prompt (cmd) as an Administrator, |