summaryrefslogtreecommitdiffstats
path: root/contrib/windows
diff options
context:
space:
mode:
authorMorlinest <morlinest@gmail.com>2017-10-22 01:17:48 +0200
committerAndrey Nering <andrey.nering@gmail.com>2017-10-21 21:17:48 -0200
commita257f88a09eca5460e8a40f10eb04ff00ffa9c20 (patch)
tree53fe50cab4585f9a71c6b4ed250a73975045625d /contrib/windows
parent0e9e48bd5cfdc42ed0b29a7991bd290aca70d2be (diff)
downloadgitea-a257f88a09eca5460e8a40f10eb04ff00ffa9c20.tar.gz
gitea-a257f88a09eca5460e8a40f10eb04ff00ffa9c20.zip
Remove manual of unsupported option (#2757)
Diffstat (limited to 'contrib/windows')
-rw-r--r--contrib/windows/install-as-service.bat25
1 files changed, 0 insertions, 25 deletions
diff --git a/contrib/windows/install-as-service.bat b/contrib/windows/install-as-service.bat
deleted file mode 100644
index 4a513b7dcb..0000000000
--- a/contrib/windows/install-as-service.bat
+++ /dev/null
@@ -1,25 +0,0 @@
-@ECHO off
-
-:: This script relies on nssm.exe to work.
-:: Please, download it and make it available on the system path,
-:: or copy it to the gogs path.
-:: https://nssm.cc/download
-:: This script itself should run in the gogs path, too.
-:: In case of startup failure, please read carefully the log file.
-:: Make sure Gitea work running manually with "gitea web" before running
-:: this script.
-:: And, please, read carefully the installation docs first:
-:: https://gogs.io/docs/installation
-:: To unistall the service, run "nssm remove gogs" and restart Windows.
-
-:: Set the folder where you extracted Gitea. Omit the last slash.
-SET gogspath=C:\gogs
-
-nssm install gogs "%gogspath%\gogs.exe"
-nssm set gogs AppParameters "web"
-nssm set gogs Description "A painless self-hosted Git service."
-nssm set gogs DisplayName "Gitea - Git with a cup of tea"
-nssm set gogs Start SERVICE_DELAYED_AUTO_START
-nssm set gogs AppStdout "%gogspath%\gogs.log"
-nssm start gogs
-pause