annotate 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
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
12439
84eb4afebc95 Added support for systemd.
Timo Sirainen <tss@iki.fi>
parents:
diff changeset
1 [Unit]
84eb4afebc95 Added support for systemd.
Timo Sirainen <tss@iki.fi>
parents:
diff changeset
2 Description=Dovecot IMAP/POP3 email server activation socket
84eb4afebc95 Added support for systemd.
Timo Sirainen <tss@iki.fi>
parents:
diff changeset
3
84eb4afebc95 Added support for systemd.
Timo Sirainen <tss@iki.fi>
parents:
diff changeset
4 [Socket]
84eb4afebc95 Added support for systemd.
Timo Sirainen <tss@iki.fi>
parents:
diff changeset
5 #dovecot expects separate IPv4 and IPv6 sockets
84eb4afebc95 Added support for systemd.
Timo Sirainen <tss@iki.fi>
parents:
diff changeset
6 BindIPv6Only=ipv6-only
84eb4afebc95 Added support for systemd.
Timo Sirainen <tss@iki.fi>
parents:
diff changeset
7 ListenStream=0.0.0.0:143
84eb4afebc95 Added support for systemd.
Timo Sirainen <tss@iki.fi>
parents:
diff changeset
8 ListenStream=[::]:143
84eb4afebc95 Added support for systemd.
Timo Sirainen <tss@iki.fi>
parents:
diff changeset
9 ListenStream=0.0.0.0:993
84eb4afebc95 Added support for systemd.
Timo Sirainen <tss@iki.fi>
parents:
diff changeset
10 ListenStream=[::]:993
84eb4afebc95 Added support for systemd.
Timo Sirainen <tss@iki.fi>
parents:
diff changeset
11 KeepAlive=true
84eb4afebc95 Added support for systemd.
Timo Sirainen <tss@iki.fi>
parents:
diff changeset
12
84eb4afebc95 Added support for systemd.
Timo Sirainen <tss@iki.fi>
parents:
diff changeset
13 [Install]
84eb4afebc95 Added support for systemd.
Timo Sirainen <tss@iki.fi>
parents:
diff changeset
14 WantedBy=sockets.target
84eb4afebc95 Added support for systemd.
Timo Sirainen <tss@iki.fi>
parents:
diff changeset
15