From 4f6c3e8bb2e55fcc6057b30b5fe9b2d740e0e20e Mon Sep 17 00:00:00 2001 From: Unknwon Date: Sun, 14 Feb 2016 20:19:00 -0500 Subject: [PATCH] Hijack #2388 --- scripts/systemd/gogs.service | 6 ++++++ 1 file changed, 6 insertions(+) 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