forgejo/contrib
plsnp a99074b267
Update gitea.service (#21399)
`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>
2022-10-11 12:26:32 -04:00
..
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.