diff options
Diffstat (limited to 'examples/public-inbox-imap-onion.socket')
-rw-r--r-- | examples/public-inbox-imap-onion.socket | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/examples/public-inbox-imap-onion.socket b/examples/public-inbox-imap-onion.socket new file mode 100644 index 00000000..76b4e7ca --- /dev/null +++ b/examples/public-inbox-imap-onion.socket @@ -0,0 +1,12 @@ +# ==> /etc/systemd/system/public-inbox-imap-onion.socket <== +# This unit is for the corresponding line in torrc(5): +# HiddenServicePort 143 unix:/run/imapd.onion.sock +[Unit] +Description = public-inbox-imap .onion socket + +[Socket] +ListenStream = /run/imapd.onion.sock +Service = public-inbox-imapd@1.service + +[Install] +WantedBy = sockets.target |