diff --git a/templates/gitea.service.systemd.j2 b/templates/gitea.service.systemd.j2 index 71555e2..e077c2e 100644 --- a/templates/gitea.service.systemd.j2 +++ b/templates/gitea.service.systemd.j2 @@ -23,6 +23,8 @@ Requires=memcached.service ### #LimitMEMLOCK=infinity #LimitNOFILE=65535 +LimitNOFILE=8192 +LimitNOFILESoft=1024 RestartSec=2s Type=simple User={{ gitea_user }}