summaryrefslogtreecommitdiffstats
path: root/docs/content/doc/installation/windows-service.en-us.md
diff options
context:
space:
mode:
Diffstat (limited to 'docs/content/doc/installation/windows-service.en-us.md')
-rw-r--r--docs/content/doc/installation/windows-service.en-us.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/content/doc/installation/windows-service.en-us.md b/docs/content/doc/installation/windows-service.en-us.md
index 6a4b33cb3f..8e3b63a1c8 100644
--- a/docs/content/doc/installation/windows-service.en-us.md
+++ b/docs/content/doc/installation/windows-service.en-us.md
@@ -40,7 +40,7 @@ To register Gitea as a Windows service, open a command prompt (cmd) as an Admini
then run the following command:
```
-sc create gitea start= auto binPath= ""C:\gitea\gitea.exe" web --config "C:\gitea\custom\conf\app.ini""
+sc create gitea start= auto binPath= "\"C:\gitea\gitea.exe\" web --config \"C:\gitea\custom\conf\app.ini\""
```
Do not forget to replace `C:\gitea` with the correct Gitea directory.