i2pd: increase open files limit

To run i2pd as a "floodfill" (special mode which contributes to the
network more) we need a higher open files limit. 8192 is recommended by
upstream but let's just double it to be on the safe side.
This commit is contained in:
Frank Steinborn 2022-10-28 13:45:32 +02:00 committed by Michal Vasilek
parent ca5912d829
commit b7ea2bd965
2 changed files with 3 additions and 1 deletions

View File

@ -1,4 +1,6 @@
#!/bin/sh
[ -r conf ] && . ./conf
ulimit -n ${MAX_OPEN_FILES:-16384}
exec chpst -u _i2pd:_i2pd i2pd --service \
--conf=/etc/i2pd/i2pd.conf \
--tunconf=/etc/i2pd/tunnels.conf 2>&1

View File

@ -1,7 +1,7 @@
# Template file for 'i2pd'
pkgname=i2pd
version=2.43.0
revision=1
revision=2
build_style=gnu-makefile
make_build_args="USE_UPNP=yes"
makedepends="zlib-devel boost-devel openssl-devel miniupnpc-devel