summaryrefslogtreecommitdiffstats
path: root/contrib/launchd/io.gitea.web.plist
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-10-11 10:27:00 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-10-11 10:27:00 +0000
commit65aa53fc52ff15efe54df4147564828d535837f8 (patch)
tree31c51dad04fdcca80e6d3043c8bd49d2f1a51f83 /contrib/launchd/io.gitea.web.plist
parentInitial commit. (diff)
downloadforgejo-upstream.tar.xz
forgejo-upstream.zip
Adding upstream version 8.0.3.HEADupstream/8.0.3upstreamdebian
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'contrib/launchd/io.gitea.web.plist')
-rw-r--r--contrib/launchd/io.gitea.web.plist39
1 files changed, 39 insertions, 0 deletions
diff --git a/contrib/launchd/io.gitea.web.plist b/contrib/launchd/io.gitea.web.plist
new file mode 100644
index 00000000..43ec612b
--- /dev/null
+++ b/contrib/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 Gitea 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 Gitea 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 Gitea 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 Gitea needs using parallel pipes -->
+ <key>SoftResourceLimits</key>
+ <dict>
+ <key>NumberOfFiles</key>
+ <integer>8192</integer>
+ </dict>
+ </dict>
+</plist>