diff options
author | Michael Lustfield <MTecknology@users.noreply.github.com> | 2018-01-08 16:48:42 -0600 |
---|---|---|
committer | Kim "BKC" Carlbäcker <kim.carlbacker@gmail.com> | 2018-01-08 23:48:42 +0100 |
commit | 3ee8be384982260586454546c2b272daeceb1944 (patch) | |
tree | 9f13eb3ee6df7f427ba626776da8be4cccc28574 /docs/content/doc/installation/windows-service.en-us.md | |
parent | 923c0105f4fab51d1b9510ba432200dc619bb94e (diff) | |
download | gitea-3ee8be384982260586454546c2b272daeceb1944.tar.gz gitea-3ee8be384982260586454546c2b272daeceb1944.zip |
General documentation cleanup (#3317)
* Clean up spelling, grammar, perspective, whitespace, language, markup, etc.
Diffstat (limited to 'docs/content/doc/installation/windows-service.en-us.md')
-rw-r--r-- | docs/content/doc/installation/windows-service.en-us.md | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/docs/content/doc/installation/windows-service.en-us.md b/docs/content/doc/installation/windows-service.en-us.md index 0092c261c7..4955204d06 100644 --- a/docs/content/doc/installation/windows-service.en-us.md +++ b/docs/content/doc/installation/windows-service.en-us.md @@ -15,19 +15,22 @@ menu: # Register as a Windows Service -To register Gitea as a Windows service, first run `cmd` as an Administrator, and then run the following command: +To register Gitea as a Windows service, open a command prompt (cmd) as an Administrator, +then run the following command: ``` 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 your real Gitea folder. +Do not forget to replace `C:\gitea` with the correct Gitea directory. -After, open "Windows Services", search for the service named "gitea", right-click it and click on "Run". If everything is OK you should be able to reach Gitea on `http://localhost:3000` (or the port is was configured, if different than 3000). +Open "Windows Services", search for the service named "gitea", right-click it and click on +"Run". If everything is OK Gitea will be reachable on `http://localhost:3000` (or the port +that was configured). ## Unregister as a service -To unregister Gitea as a service, open `cmd` as an Administrator and run: +To unregister Gitea as a service, open a command prompt (cmd) as an Administrator and run: ``` sc delete gitea |