瀏覽代碼

Removed launch daemon and windows script

Yoginth 7 年之前
父節點
當前提交
d4fef144f0
共有 2 個文件被更改,包括 0 次插入64 次删除
  1. 0 39
      script/launchd/io.gitote.web.plist
  2. 0 25
      script/windows/install-as-service.bat

+ 0 - 39
script/launchd/io.gitote.web.plist

@@ -1,39 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
-<plist version="1.0">
-	<dict>
-		<key>Label</key>
-		<string>io.gitote.web</string>
-		<!-- assumes Gitote is running under 'git' account -->
-		<!-- modify below to reflect your settings -->
-		<key>UserName</key>
-		<string>git</string>
-		<key>GroupName</key>
-		<string>git</string>
-		<key>ProgramArguments</key>
-		<array>
-			<!-- assumes Gitote is installed in /Users/git/gitote -->
-			<!-- modify below to reflect your settings -->
-			<string>/Users/git/gitote/gitote</string>
-			<string>web</string>
-		</array>
-		<key>RunAtLoad</key>
-		<true/>
-		<key>KeepAlive</key>
-		<true/>
-		<!-- assumes Gitote is installed in /Users/git/gitote -->
-		<!-- modify below to reflect your settings -->
-		<key>WorkingDirectory</key>
-		<string>/Users/git/gitote/</string>
-		<key>StandardOutPath</key>
-		<string>/Users/git/gitote/log/stdout.log</string>
-		<key>StandardErrorPath</key>
-		<string>/Users/git/gitote/log/stderr.log</string>
-		<!-- default 256 is too low for Gitote needs using parallel pipes -->
-		<key>SoftResourceLimits</key>
-		<dict>
-			<key>NumberOfFiles</key>
-			<integer>8192</integer>
-		</dict>
-	</dict>
-</plist>

+ 0 - 25
script/windows/install-as-service.bat

@@ -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