mirror of
https://github.com/PurpleI2P/i2pd
synced 2024-11-10 00:00:29 +03:00
Update usage.md
This commit is contained in:
parent
f76b014a52
commit
eaa7adc88c
@ -23,12 +23,12 @@ To display all available options:
|
|||||||
i2pd can be controlled with signals. Process ID by default is written to file `~/.i2pd/i2pd.pid` or `/var/run/i2pd/i2pd.pid`.
|
i2pd can be controlled with signals. Process ID by default is written to file `~/.i2pd/i2pd.pid` or `/var/run/i2pd/i2pd.pid`.
|
||||||
You can use `kill` utility to send signals like this:
|
You can use `kill` utility to send signals like this:
|
||||||
|
|
||||||
kill -TERM $( cat /var/run/i2pd/i2pd.pid )
|
kill -INT $( cat /var/run/i2pd/i2pd.pid )
|
||||||
|
|
||||||
i2pd supports the following signals:
|
i2pd supports the following signals:
|
||||||
|
|
||||||
TERM - Graceful shutdown. i2pd will wait for 10 minutes and stop. Send second TERM signal to shutdown i2pd immediately.
|
* INT - Graceful shutdown. i2pd will wait for 10 minutes and stop. Send second INT signal to shutdown i2pd immediately.
|
||||||
HUP - Reload configuration files.
|
* HUP - Reload configuration files.
|
||||||
|
|
||||||
|
|
||||||
### systemd unit
|
### systemd unit
|
||||||
|
Loading…
Reference in New Issue
Block a user