diff options
author | Eric Wong <e@80x24.org> | 2024-01-16 11:52:52 +0000 |
---|---|---|
committer | Eric Wong <e@80x24.org> | 2024-01-17 09:37:54 +0000 |
commit | f37e32870a213068ed398db5a012000fe1c3d8a6 (patch) | |
tree | 30d49d8a4f315bfbdce2d5cdc3bd34f69f7476ff /examples/unsubscribe-milter@.service | |
parent | 9b381304c383df305ee0d1f082d4747ef336e936 (diff) | |
download | public-inbox-f37e32870a213068ed398db5a012000fe1c3d8a6.tar.gz |
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.
Diffstat (limited to 'examples/unsubscribe-milter@.service')
-rw-r--r-- | examples/unsubscribe-milter@.service | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/examples/unsubscribe-milter@.service b/examples/unsubscribe-milter@.service index eb5dcbe4..a68e6e81 100644 --- a/examples/unsubscribe-milter@.service +++ b/examples/unsubscribe-milter@.service @@ -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 |