Unknwon 9 年之前
父节点
当前提交
4f6c3e8bb2
共有 1 个文件被更改,包括 6 次插入0 次删除
  1. 6 0
      scripts/systemd/gogs.service

+ 6 - 0
scripts/systemd/gogs.service

@@ -8,6 +8,12 @@ After=network.target
 #After=redis.service
 
 [Service]
+# Modify these two values and uncomment them if you have
+# repos with lots of files and get an HTTP error 500 because
+# of that
+###
+#LimitMEMLOCK=infinity
+#LimitNOFILE=65535
 Type=simple
 User=git
 Group=git