diff --git a/srcpkgs/i2pd/files/i2pd/run b/srcpkgs/i2pd/files/i2pd/run index 362ca4004db..2395b784eed 100644 --- a/srcpkgs/i2pd/files/i2pd/run +++ b/srcpkgs/i2pd/files/i2pd/run @@ -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 diff --git a/srcpkgs/i2pd/template b/srcpkgs/i2pd/template index 253e5e4aed9..269d719ff21 100644 --- a/srcpkgs/i2pd/template +++ b/srcpkgs/i2pd/template @@ -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