From 0ccf7952e7dc396664dd73176d0a0d33a769216a Mon Sep 17 00:00:00 2001 From: R4SAS Date: Thu, 12 May 2022 20:46:56 +0300 Subject: [PATCH] Add systemd overriding note (closes #30) --- docs/user-guide/run.md | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/docs/user-guide/run.md b/docs/user-guide/run.md index ac933b5..707fef9 100644 --- a/docs/user-guide/run.md +++ b/docs/user-guide/run.md @@ -59,3 +59,20 @@ Then, to run i2pd, simply travel to the installation directory and type: ./i2pd --datadir . +Overriding systemd service parameters +----- + +For overriding systemd service defaults create `/etc/systemd/system/i2pd.service.d/override.conf` file and place overriden options. Don't forget use option section. + +``` +mkdir -p /etc/systemd/system/i2pd.service.d/ +touch /etc/systemd/system/i2pd.service.d/override.conf +``` + +Example content with enabled coredump and increased `nofile` limit + +``` +[Service] +LimitNOFILE=16386 +LimitCORE=infinity +```