code.gitea.io/gitea@v1.21.7/contrib/launchd/io.gitea.web.plist (about)

     1  <?xml version="1.0" encoding="UTF-8"?>
     2  <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
     3  <plist version="1.0">
     4  	<dict>
     5  		<key>Label</key>
     6  		<string>io.gitea.web</string>
     7  		<!-- assumes Gitea is running under 'git' account -->
     8  		<!-- modify below to reflect your settings -->
     9  		<key>UserName</key>
    10  		<string>git</string>
    11  		<key>GroupName</key>
    12  		<string>git</string>
    13  		<key>ProgramArguments</key>
    14  		<array>
    15  			<!-- assumes Gitea is installed in /Users/git/gitea -->
    16  			<!-- modify below to reflect your settings -->
    17  			<string>/Users/git/gitea/gitea</string>
    18  			<string>web</string>
    19  		</array>
    20  		<key>RunAtLoad</key>
    21  		<true/>
    22  		<key>KeepAlive</key>
    23  		<true/>
    24  		<!-- assumes Gitea is installed in /Users/git/gitea -->
    25  		<!-- modify below to reflect your settings -->
    26  		<key>WorkingDirectory</key>
    27  		<string>/Users/git/gitea/</string>
    28  		<key>StandardOutPath</key>
    29  		<string>/Users/git/gitea/log/stdout.log</string>
    30  		<key>StandardErrorPath</key>
    31  		<string>/Users/git/gitea/log/stderr.log</string>
    32  		<!-- default 256 is too low for Gitea needs using parallel pipes -->
    33  		<key>SoftResourceLimits</key>
    34  		<dict>
    35  			<key>NumberOfFiles</key>
    36  			<integer>8192</integer>
    37  		</dict>
    38  	</dict>
    39  </plist>