forked from forgejo/forgejo
fix(docs): Fixed creating Windows service commands (#8979)
escaping " to \"
This commit is contained in:
parent
04e6d761bc
commit
c9b564ccdb
4 changed files with 4 additions and 4 deletions
|
@ -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.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue