2016-01-13 11:32:07 -07:00
|
|
|
<?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>
|
2016-11-07 04:54:17 -07:00
|
|
|
<string>io.gitea.web</string>
|
2016-12-01 22:18:58 -07:00
|
|
|
<!-- assumes Gitea is running under 'git' account -->
|
2016-01-13 11:32:07 -07:00
|
|
|
<!-- modify below to reflect your settings -->
|
|
|
|
<key>UserName</key>
|
|
|
|
<string>git</string>
|
|
|
|
<key>GroupName</key>
|
|
|
|
<string>git</string>
|
|
|
|
<key>ProgramArguments</key>
|
|
|
|
<array>
|
2016-12-01 22:18:58 -07:00
|
|
|
<!-- assumes Gitea is installed in /Users/git/gitea -->
|
2016-01-13 11:32:07 -07:00
|
|
|
<!-- modify below to reflect your settings -->
|
2016-11-07 04:54:17 -07:00
|
|
|
<string>/Users/git/gitea/gitea</string>
|
2016-01-13 11:32:07 -07:00
|
|
|
<string>web</string>
|
|
|
|
</array>
|
|
|
|
<key>RunAtLoad</key>
|
|
|
|
<true/>
|
|
|
|
<key>KeepAlive</key>
|
|
|
|
<true/>
|
2016-12-01 22:18:58 -07:00
|
|
|
<!-- assumes Gitea is installed in /Users/git/gitea -->
|
2016-01-13 11:32:07 -07:00
|
|
|
<!-- modify below to reflect your settings -->
|
|
|
|
<key>WorkingDirectory</key>
|
2016-11-07 04:54:17 -07:00
|
|
|
<string>/Users/git/gitea/</string>
|
2016-01-13 11:32:07 -07:00
|
|
|
<key>StandardOutPath</key>
|
2016-11-07 04:54:17 -07:00
|
|
|
<string>/Users/git/gitea/log/stdout.log</string>
|
2016-01-13 11:32:07 -07:00
|
|
|
<key>StandardErrorPath</key>
|
2016-11-07 04:54:17 -07:00
|
|
|
<string>/Users/git/gitea/log/stderr.log</string>
|
2016-12-01 22:18:58 -07:00
|
|
|
<!-- default 256 is too low for Gitea needs using parallel pipes -->
|
2016-01-13 11:32:07 -07:00
|
|
|
<key>SoftResourceLimits</key>
|
|
|
|
<dict>
|
|
|
|
<key>NumberOfFiles</key>
|
|
|
|
<integer>8192</integer>
|
|
|
|
</dict>
|
|
|
|
</dict>
|
|
|
|
</plist>
|