Skip to content

Commit b3d88ad

Browse files
authored
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 <[email protected]>
1 parent a7d9a70 commit b3d88ad

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

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

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,15 @@ Open "Windows Services", search for the service named "gitea", right-click it an
5151
"Run". If everything is OK, Gitea will be reachable on `http://localhost:3000` (or the port
5252
that was configured).
5353

54+
## Service startup type
55+
56+
It was observed that on loaded systems during boot Gitea service may fail to start with timeout records in Windows Event Log.
57+
In that case change startup type to `Automatic-Delayed`. This can be done during service creation, or by running config command
58+
59+
```
60+
sc.exe config gitea start= delayed-auto
61+
```
62+
5463
## Adding startup dependencies
5564

5665
To add a startup dependency to the Gitea Windows service (eg Mysql, Mariadb), as an Administrator, then run the following command:

0 commit comments

Comments
 (0)