0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2024-12-23 07:43:18 -05:00
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 Kd/ci playwright go test (#20123) 2022-09-02 15:18:23 -04:00
supervisor
systemd Update gitea.service (#21399) 2022-10-11 12:26:32 -04:00
autoboot.sh
mysql.sql
README
update_dependencies.sh
upgrade.sh Fix upgrade.sh script error with su -c (#19483) 2022-04-26 23:30:29 -04:00

All files in subdirectories are templates, do modifications based on your environment first.