Browse Source

Add systemd overriding note (closes #30)

pull/69/head
R4SAS 3 years ago committed by GitHub
parent
commit
0ccf7952e7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 17
      docs/user-guide/run.md

17
docs/user-guide/run.md

@ -59,3 +59,20 @@ Then, to run i2pd, simply travel to the installation directory and type: @@ -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
```

Loading…
Cancel
Save