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