From 2762c4b0c1503377dcd11250b4402553489bfcdf Mon Sep 17 00:00:00 2001 From: Simon Szustkowski Date: Wed, 13 Jan 2016 15:31:25 +0100 Subject: [PATCH] Better explanation of systemd settings --- scripts/systemd/gogs.service | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/scripts/systemd/gogs.service b/scripts/systemd/gogs.service index 53b79979e..e0db5ecbc 100644 --- a/scripts/systemd/gogs.service +++ b/scripts/systemd/gogs.service @@ -8,8 +8,12 @@ After=network.target #After=redis.service [Service] -LimitMEMLOCK=infinity -LimitNOFILE=65535 +# 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