summaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorKazzmanK <a_nic@mail.ru>2023-09-06 14:14:12 +0300
committerGitHub <noreply@github.com>2023-09-06 11:14:12 +0000
commitb3d88ada01c5bafe0581dc129fabe35a6faa3a85 (patch)
tree2e03d40300deb99c481dadaae5da16e425ad170e /docs
parenta7d9a70552410d797cefc87b177b33ca4a1a60c4 (diff)
downloadgitea-b3d88ada01c5bafe0581dc129fabe35a6faa3a85.tar.gz
gitea-b3d88ada01c5bafe0581dc129fabe35a6faa3a85.zip
Add a documentation note for Windows Service (#26938)
Service may fail to start at boot time with timeout Resolves #26934 Co-authored-by: Nikolay Kobzarev <n.kobzarev@aeronavigator.ru>
Diffstat (limited to 'docs')
-rw-r--r--docs/content/installation/windows-service.en-us.md9
1 files changed, 9 insertions, 0 deletions
diff --git a/docs/content/installation/windows-service.en-us.md b/docs/content/installation/windows-service.en-us.md
index 201681bc03..90332b7c69 100644
--- a/docs/content/installation/windows-service.en-us.md
+++ b/docs/content/installation/windows-service.en-us.md
@@ -51,6 +51,15 @@ Open "Windows Services", search for the service named "gitea", right-click it an
"Run". If everything is OK, Gitea will be reachable on `http://localhost:3000` (or the port
that was configured).
+## Service startup type
+
+It was observed that on loaded systems during boot Gitea service may fail to start with timeout records in Windows Event Log.
+In that case change startup type to `Automatic-Delayed`. This can be done during service creation, or by running config command
+
+```
+sc.exe config gitea start= delayed-auto
+```
+
## Adding startup dependencies
To add a startup dependency to the Gitea Windows service (eg Mysql, Mariadb), as an Administrator, then run the following command: