Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion zh-CN/installation/run_as_windows_service.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ In a web browser, generally, `gogs/` in the address bar is sufficient to trigger
Open a command prompt (`cmd.exe`) as an Administrator. Run the following command:

```
C:\> sc create gogs start= auto binPath= ""C:\gogs\gogs.exe" web --config "C:\gogs\conf\app.ini""
C:\> sc create gogs start= auto binPath= "\"C:\gogs\gogs.exe\" web --config \"C:\gogs\conf\app.ini\""
```

Ensure there is a space after each `=`. You can choose to add additional Arguments to further modify your service, or modify it manually in the service management console.
Expand Down