diff dovecot.socket @ 12439:84eb4afebc95

Added support for systemd. Based on patch by Christophe Fergeau
author Timo Sirainen <tss@iki.fi>
date Wed, 17 Nov 2010 18:40:52 +0000
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/dovecot.socket	Wed Nov 17 18:40:52 2010 +0000
@@ -0,0 +1,15 @@
+[Unit]
+Description=Dovecot IMAP/POP3 email server activation socket
+
+[Socket]
+#dovecot expects separate IPv4 and IPv6 sockets
+BindIPv6Only=ipv6-only
+ListenStream=0.0.0.0:143
+ListenStream=[::]:143
+ListenStream=0.0.0.0:993
+ListenStream=[::]:993
+KeepAlive=true
+
+[Install]
+WantedBy=sockets.target
+