diff options
author | Eric S. Raymond <esr@thyrsus.com> | 1997-05-29 21:24:43 +0000 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 1997-05-29 21:24:43 +0000 |
commit | 3c591e354e5216a8c2dd149f020f82ecd29e9b69 (patch) | |
tree | cab469829503efa590eddd6036c9eff43108cc0d | |
parent | 58177615563efd88a7c87787b3fd14462c4287cb (diff) | |
download | fetchmail-3c591e354e5216a8c2dd149f020f82ecd29e9b69.tar.gz fetchmail-3c591e354e5216a8c2dd149f020f82ecd29e9b69.tar.bz2 fetchmail-3c591e354e5216a8c2dd149f020f82ecd29e9b69.zip |
Added documentation of signal handling.
svn path=/trunk/; revision=1054
-rw-r--r-- | fetchmail.man | 20 |
1 files changed, 19 insertions, 1 deletions
diff --git a/fetchmail.man b/fetchmail.man index 85827261..b1c737c3 100644 --- a/fetchmail.man +++ b/fetchmail.man @@ -428,7 +428,8 @@ makes a per-user lockfile to guarantee this. The option .B --quit will kill a running daemon process. Otherwise, calling fetchmail with a daemon in the background sends a wakeup signal to the daemon, -forcing it to poll mailservers immediately. +forcing it to poll mailservers immediately. (The wakeup signal is +SIGHUP if fetchmail is running as root, SIGUSR1 otherwise.) .PP The .B -t @@ -1088,6 +1089,23 @@ requires either that both the USER and HOME environment variables are correctly set, or that \fBgetpwuid\fR(3) be able to retrieve a password entry from your user ID. +.SH SIGNALS +If a +.I fetchmail +daemon is running as root, SIGHUP wakes it up from its sleep phase and +forces a poll of all non-skipped servers (this is in accordance with +the usual conventions for system daemons). +.PP +If +.I fetchmail +is running in daemon mode as non-root, use SIGUSR1 to wake it (this is +so SIGHUP due to logout can retain the default action of killing it). +.PP +Running +.I fetchmail +in foreground while a background fetchmail is running will do +whichever of these is appropriate to wake it up. + .SH BUGS AND KNOWN PROBLEMS The RFC822 parser used in multidrop mode chokes on some @-addresses that are technically legal but bizarre. Strange uses of quoting and |