mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2025-08-03 00:45:22 +02:00
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
|
@ -18,7 +18,7 @@ menu:
|
|||
要注册为Windows服务,首先以Administrator身份运行 `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 安装目录。
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue