1AFPD(8) Netatalk AFP Fileserver Manual AFPD(8)
2
3
4
6 afpd - Apple Filing Protocol daemon
7
9 afpd [-d] [-F configfile]
10
11 afpd -v | -V | -h
12
14 afpd provides an Apple Filing Protocol (AFP) interface to the Unix file
15 system. It is normally started at boot time by netatalk(8).
16
17 @pkgconfdir@/afp.conf is the configuration file used by afpd to
18 determine the behavior and configuration of a file server.
19
21 -d
22 Specifies that the daemon should not fork.
23
24 -v
25 Print version information and exit.
26
27 -V
28 Print verbose information and exit.
29
30 -h
31 Print help and exit.
32
33 -F configfile
34 Specifies the configuration file to use. (Defaults to
35 @pkgconfdir@/afp.conf.)
36
38 To shut down a user's afpd process it is recommended that SIGKILL (-9)
39 NOT be used, except as a last resort, as this may leave the CNID
40 database in an inconsistent state. The safe way to terminate an afpd is
41 to send it a SIGTERM (-15) signal and wait for it to die on its own.
42
43 SIGTERM and SIGUSR1 signals that are sent to the main afpd process are
44 propagated to the children, so all will be affected.
45
46 SIGTERM
47 Clean exit. Propagates from master to childs.
48
49 SIGQUIT
50 Send this to the master afpd, it will exit leaving all children
51 running! Can be used to implement AFP service without downtime.
52
53 SIGHUP
54 Sending a SIGHUP to afpd will cause it to reload its configuration
55 files.
56
57 SIGINT
58 Sending a SIGINT to a child afpd enables max_debug logging for this
59 process. The log is sent to the file /tmp/afpd.PID.XXXXXX. Sending
60 another SIGINT will revert to the original log settings.
61
62 SIGUSR1
63 The afpd process will send the message "The server is going down
64 for maintenance." to the client and shut itself down in 5 minutes.
65 New connections are not allowed. If this is sent to a child afpd,
66 the other children are not affected. However, the main process will
67 still exit, disabling all new connections.
68
69 SIGUSR2
70 The afpd process will look in the message directory configured at
71 build time for a file named message.pid. For each one found, a the
72 contents will be sent as a message to the associated AFP client.
73 The file is removed after the message is sent. This should only be
74 sent to a child afpd.
75
77 @pkgconfdir@/afp.conf
78 configuration file used by afpd
79
80 /var/lib/netatalk/afp_signature.conf
81 list of server signature
82
83 /var/lib/netatalk/afp_voluuid.conf
84 list of UUID for Time Machine volume
85
86 @pkgconfdir@/extmap.conf
87 file name extension mapping
88
89 @pkgconfdir@/msg/message.pid
90 contains messages to be sent to users.
91
93 netatalk(8), hosts_access(5), afp.conf(5), afp_signature.conf(5),
94 afp_voluuid.conf(5), extmap.conf(5), dbd(1).
95
97 See CONTRIBUTORS[1]
98
100 1. CONTRIBUTORS
101 https://github.com/Netatalk/netatalk/blob/main/CONTRIBUTORS
102
103
104
105Netatalk 3.1.18 19 Jan 2013 AFPD(8)