diff options
author | Sandro Santilli <strk@kbt.io> | 2016-11-07 12:54:17 +0100 |
---|---|---|
committer | Sandro Santilli <strk@kbt.io> | 2016-11-07 16:06:21 +0100 |
commit | 145ab5c89a626f9ef0c289bdf6b83826339e482a (patch) | |
tree | 335300e1c54b0b0c98a6893a3ca7d1fd129b9a04 /scripts/launchd/io.gitea.web.plist | |
parent | b7263f31a5a0a4a0ac8fe92c83563d7b7dcf7423 (diff) | |
download | gitea-145ab5c89a626f9ef0c289bdf6b83826339e482a.tar.gz gitea-145ab5c89a626f9ef0c289bdf6b83826339e482a.zip |
Rename and update init files to use "gitea" instead of "gogs"
Closes #102
Diffstat (limited to 'scripts/launchd/io.gitea.web.plist')
-rw-r--r-- | scripts/launchd/io.gitea.web.plist | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/scripts/launchd/io.gitea.web.plist b/scripts/launchd/io.gitea.web.plist new file mode 100644 index 0000000000..6181ea15cd --- /dev/null +++ b/scripts/launchd/io.gitea.web.plist @@ -0,0 +1,39 @@ +<?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.gitea.web</string> + <!-- assumes Gogs 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 Gogs is installed in /Users/git/gitea --> + <!-- modify below to reflect your settings --> + <string>/Users/git/gitea/gitea</string> + <string>web</string> + </array> + <key>RunAtLoad</key> + <true/> + <key>KeepAlive</key> + <true/> + <!-- assumes Gogs is installed in /Users/git/gitea --> + <!-- modify below to reflect your settings --> + <key>WorkingDirectory</key> + <string>/Users/git/gitea/</string> + <key>StandardOutPath</key> + <string>/Users/git/gitea/log/stdout.log</string> + <key>StandardErrorPath</key> + <string>/Users/git/gitea/log/stderr.log</string> + <!-- default 256 is too low for Gogs needs using parallel pipes --> + <key>SoftResourceLimits</key> + <dict> + <key>NumberOfFiles</key> + <integer>8192</integer> + </dict> + </dict> +</plist> |