Skip to content

Commit

Permalink
fix lin
Browse files Browse the repository at this point in the history
  • Loading branch information
lng2020 committed Oct 8, 2023
1 parent 99b00ae commit 2b14dd7
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions docs/content/installation/windows-service.en-us.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ menu:
sidebar_position: 50
identifier: "windows-service"
---

# Register as a Windows service

## Prerequisites
Expand All @@ -38,7 +37,7 @@ If you use SQLite3, change the `PATH` to include the full path:
PATH = c:/gitea/data/gitea.db
```

## Register as a Windows service
## Register Gitea

To register Gitea as a Windows service, open a command prompt (cmd) as an Administrator,
then run the following command:
Expand Down Expand Up @@ -72,7 +71,7 @@ sc.exe config gitea depend= mariadb

This will ensure that when the Windows machine restarts, the automatic starting of Gitea is postponed until the database is ready and thus mitigate failed startups.

## Unregister as a service
## Unregister Gitea

To unregister Gitea as a Windows service, open a command prompt (cmd) as an Administrator and run:

Expand Down

0 comments on commit 2b14dd7

Please sign in to comment.