summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorUnknwon <u@gogs.io>2016-02-14 20:19:00 -0500
committerUnknwon <u@gogs.io>2016-02-14 20:19:00 -0500
commit4f6c3e8bb2e55fcc6057b30b5fe9b2d740e0e20e (patch)
treed0f4d2d178f94c0b3f1b5b8d635e7b87fa61ea36 /scripts
parenta1d97e8f5c13d4380abe761ed64d0ab59b779167 (diff)
downloadgitea-4f6c3e8bb2e55fcc6057b30b5fe9b2d740e0e20e.tar.gz
gitea-4f6c3e8bb2e55fcc6057b30b5fe9b2d740e0e20e.zip
Hijack #2388
Diffstat (limited to 'scripts')
-rw-r--r--scripts/systemd/gogs.service6
1 files changed, 6 insertions, 0 deletions
diff --git a/scripts/systemd/gogs.service b/scripts/systemd/gogs.service
index 95567eaa96..e0db5ecbce 100644
--- a/scripts/systemd/gogs.service
+++ b/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