forked from PurpleI2P/i2pd_docs_en
Add systemd overriding note (closes #30)
parent
329e09e30a
commit
0ccf7952e7
|
@ -59,3 +59,20 @@ Then, to run i2pd, simply travel to the installation directory and type:
|
||||||
|
|
||||||
./i2pd --datadir .
|
./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…
Reference in New Issue