This can be a multi-process daemon, but systemd should only kill
the top-level one.  And also finish a comment about the User
having access to the shared private key.
---
 examples/[email protected] | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/examples/[email protected] 
b/examples/[email protected]
index eb5dcbe4..a68e6e81 100644
--- a/examples/[email protected]
+++ b/examples/[email protected]
@@ -24,7 +24,13 @@ Sockets = unsubscribe-milter.socket
 
 # the corresponding PSGI app needs permissions to modify the
 # mlmmj spool, so we might as well use the same user since
+# they both need to read /home/mlmmj/.unsubscribe.key
 User = mlmmj
 
+# only kill the parent process when using the default Sendmail::PMilter
+# postfork dispatcher, children will die naturally when they're done
+# with a given message.
+KillMode = process
+
 [Install]
 WantedBy = multi-user.target

Reply via email to