Add systemd overriding note (closes #30)

pull/69/head
R4SAS 2022-05-12 20:46:56 +03:00 committed by GitHub
parent 329e09e30a
commit 0ccf7952e7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 17 additions and 0 deletions

View File

@ -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
```