summarylogtreecommitdiffstats
path: root/gogs_new.service
diff options
context:
space:
mode:
Diffstat (limited to 'gogs_new.service')
-rw-r--r--gogs_new.service6
1 files changed, 6 insertions, 0 deletions
diff --git a/gogs_new.service b/gogs_new.service
index 574d74973a45..ec68c13e46d3 100644
--- a/gogs_new.service
+++ b/gogs_new.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=gogs
Group=gogs