|
|
@@ -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 gitote path.
|
|
|
-:: https://nssm.cc/download
|
|
|
-:: This script itself should run in the gitote path, too.
|
|
|
-:: In case of startup failure, please read carefully the log file.
|
|
|
-:: Make sure Gitote work running manually with "gitote web" before running
|
|
|
-:: this script.
|
|
|
-:: And, please, read carefully the installation docs first:
|
|
|
-:: https://gitote.io/docs/installation
|
|
|
-:: To unistall the service, run "nssm remove gitote" and restart Windows.
|
|
|
-
|
|
|
-:: Set the folder where you extracted Gitote. Omit the last slash.
|
|
|
-SET gitotepath=C:\gitote
|
|
|
-
|
|
|
-nssm install gitote "%gitotepath%\gitote.exe"
|
|
|
-nssm set gitote AppParameters "web"
|
|
|
-nssm set gitote Description "A painless self-hosted Git service."
|
|
|
-nssm set gitote DisplayName "Gitote"
|
|
|
-nssm set gitote Start SERVICE_DELAYED_AUTO_START
|
|
|
-nssm set gitote AppStdout "%gitotepath%\gitote.log"
|
|
|
-nssm start gitote
|
|
|
-pause
|