diff --git a/scripts/systemd/gogs.service b/scripts/systemd/gogs.service index 95567eaa9..e0db5ecbc 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