io.gogs.web.plist 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839
  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.gogs.web</string>
  7. <!-- assumes Gogs 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 Gogs is installed in /Users/git/gogs -->
  16. <!-- modify below to reflect your settings -->
  17. <string>/Users/git/gogs/gogs</string>
  18. <string>web</string>
  19. </array>
  20. <key>RunAtLoad</key>
  21. <true/>
  22. <key>KeepAlive</key>
  23. <true/>
  24. <!-- assumes Gogs is installed in /Users/git/gogs -->
  25. <!-- modify below to reflect your settings -->
  26. <key>WorkingDirectory</key>
  27. <string>/Users/git/gogs/</string>
  28. <key>StandardOutPath</key>
  29. <string>/Users/git/gogs/log/stdout.log</string>
  30. <key>StandardErrorPath</key>
  31. <string>/Users/git/gogs/log/stderr.log</string>
  32. <!-- default 256 is too low for Gogs needs using parallel pipes -->
  33. <key>SoftResourceLimits</key>
  34. <dict>
  35. <key>NumberOfFiles</key>
  36. <integer>8192</integer>
  37. </dict>
  38. </dict>
  39. </plist>