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:
psychon
2009-11-20 16:42:44 +00:00
parent c1ee724829
commit c2e87beb99
2 changed files with 21 additions and 0 deletions

5
README
View File

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

View File

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