mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2025-10-24 11:02:42 +00:00
`LimitMEMLOCK=infinity` is already the default, so removed that Default soft limit for LimitNOFILE is 1024 Default hard limit for LimitNOFILE is 524288 `LimitNOFILE=65535` increases the soft limit, but decreases the hard limit References: * https://www.freedesktop.org/software/systemd/man/systemd.exec.html * https://blog.skbali.com/2019/09/set-ulimits-for-a-script-started-using-systemd/ Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com> Co-authored-by: techknowlogick <techknowlogick@gitea.io> |
||
|---|---|---|
| .. | ||
| environment-to-ini | ||
| fhs-compliant-script | ||
| fixtures | ||
| gitea-monitoring-mixin | ||
| ide | ||
| init | ||
| launchd | ||
| legal | ||
| options/label | ||
| pr | ||
| supervisor | ||
| systemd | ||
| autoboot.sh | ||
| mysql.sql | ||
| README | ||
| update_dependencies.sh | ||
| upgrade.sh | ||
All files in subdirectories are templates, do modifications based on your environment first.