mirror of
https://github.com/znc/znc.git
synced 2026-03-28 17:42:41 +01:00
Document the signals
This adds the new SIGUSR1 handling to README and adds a section on SIGINT, SIGHUP and SIGUSR1 to znc's man page. git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1667 726aef4b-f618-498e-8847-2d620e286838
This commit is contained in:
5
README
5
README
@@ -119,6 +119,11 @@ To rehash the config file, you can send ZNC SIGHUP via
|
||||
or you can login to znc and use
|
||||
/msg *status rehash
|
||||
|
||||
If you changed some settings while znc is running, a simple
|
||||
pkill -SIGUSR1 znc
|
||||
will make ZNC rewrite its config file. Alternatively you can use this:
|
||||
/msg *status saveconfig
|
||||
|
||||
Writing own modules
|
||||
-------------------
|
||||
|
||||
|
||||
16
man/znc.1
16
man/znc.1
@@ -79,6 +79,22 @@ This is the server certificate
|
||||
.B znc
|
||||
uses.
|
||||
You need this for SSL.
|
||||
.SH SIGNALS
|
||||
This section explains how
|
||||
.B znc
|
||||
reacts to different signals:
|
||||
.TP
|
||||
.B SIGINT
|
||||
Exit ZNC. This is equivalent to
|
||||
.I /znc shutdown
|
||||
.TP
|
||||
.B SIGHUP
|
||||
Reload znc.conf. This is equivalent to
|
||||
.I /znc rehash
|
||||
.TP
|
||||
.B SIGUSR1
|
||||
Rewrite znc.conf. This is equivalent to
|
||||
.I /znc saveconfig
|
||||
.SH FILES
|
||||
.TP
|
||||
.I /usr/local/share/znc/
|
||||
|
||||
Reference in New Issue
Block a user