mirror of
https://github.com/go-gitea/gitea
synced 2025-07-23 18:58:38 +00:00
fix(docs): Fixed creating Windows service commands (#8979)
escaping " to \"
This commit is contained in:
@@ -18,7 +18,7 @@ menu:
|
||||
要註冊為 Windows 服務,首先要以管理者身份執行 `cmd`,跳出命令列視窗後執行底下指令:
|
||||
|
||||
```
|
||||
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\""
|
||||
```
|
||||
|
||||
別忘記將 `C:\gitea` 取代為您的 Gitea 安裝路徑。
|
||||
|
Reference in New Issue
Block a user