X-Git-Url: https://arthur.barton.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=man%2Fman8%2Fafpd.8.tmpl;h=6ce60fd41ef68274000299dbcef1746e5557e6dc;hb=cf3e505e21e9c7ffba3a048ced9b772be8301e98;hp=9fc6dd3739e148722266333b3145fe3c89bc6dc8;hpb=6d60f95c388da5f8f901d67e0018cf4896e6c6dc;p=netatalk.git diff --git a/man/man8/afpd.8.tmpl b/man/man8/afpd.8.tmpl index 9fc6dd37..6ce60fd4 100644 --- a/man/man8/afpd.8.tmpl +++ b/man/man8/afpd.8.tmpl @@ -201,10 +201,32 @@ for the creation of folders in Netatalk\&. .RE .SH "SIGNALS" .PP -Signals that are sent to the main +To shut down a user\'s +\fBafpd\fR +process it is recommended that +\fBSIGKILL (\-9)\fR +\fINOT\fR +be used, except as a last resort, as this may leave the CNID database in an inconsistent state\&. The safe way to terminate an +\fBafpd\fR +is to send it a +\fBSIGTERM (\-15)\fR +signal and wait for it to die on its own\&. +.PP +SIGTERM and SIGUSR1 signals that are sent to the main \fBafpd\fR process are propagated to the children, so all will be affected\&. .PP +SIGTERM +.RS 4 +Clean exit\&. Propagates from master to childs\&. +.RE +.PP +SIGQUIT +.RS 4 +Send this to the master +\fBafpd\fR, it will exit leaving all children running! Can be used to implement AFP service without downtime\&. +.RE +.PP SIGHUP .RS 4 Sending a @@ -223,7 +245,7 @@ enables logging for this process\&. The log is sent to fhe file /tmp/afpd\&.PID\&.XXXXXX\&. Sending another \fBSIGINT\fR -will terminate the process\&. +will revert to the original log settings\&. .RE .PP SIGUSR1 @@ -239,17 +261,6 @@ The \fBafpd\fR process will look in the message directory configured at build time for a file named message\&.pid\&. For each one found, a the contents will be sent as a message to the associated AFP client\&. The file is removed after the message is sent\&. This should only be sent to a child \fBafpd\fR\&. -.sp -To shut down a user\'s -\fBafpd\fR -process it is recommended that -\fBSIGKILL (\-9)\fR -\fINOT\fR -be used, except as a last resort, as this may leave the CNID database in an inconsistent state\&. The safe way to terminate an -\fBafpd\fR -is to send it a -\fBSIGTERM (\-15)\fR -signal and wait for it to die on its own\&. .RE .SH "FILES" .PP