diff --git a/debian/patches/0004-oom-listener.patch b/debian/patches/0004-oom-listener.patch new file mode 100644 index 0000000000000000000000000000000000000000..f803b8d9ef342fe990ab8f6dcaf2fde763d78034 --- /dev/null +++ b/debian/patches/0004-oom-listener.patch @@ -0,0 +1,11 @@ +--- a/router/java/src/net/i2p/router/tasks/OOMListener.java ++++ b/router/java/src/net/i2p/router/tasks/OOMListener.java +@@ -33,7 +33,7 @@ + // gobble + } + } +- log.log(Log.CRIT, "To prevent future shutdowns, increase wrapper.java.maxmemory in $I2P/wrapper.config"); ++ log.log(Log.CRIT, "To prevent future shutdowns, increase wrapper.java.maxmemory in /etc/i2p/wrapper.config"); + _context.router().shutdown(Router.EXIT_OOM); + } + } diff --git a/debian/patches/series b/debian/patches/series index a289a6ae121a506253a4c3d30ea7d8acd8276bbe..32c3c507a6f6abc78bf6ec7ba0ead27e5cc3227e 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -1,3 +1,4 @@ 0001-path-substitution.patch 0002-jbigi-soname.patch 0003-renaming-jcpuid.patch +0004-oom-listener.patch