forked from pool/courier-imap
Dirk Mueller
169a7a0a51
* courier-debuild: implement DEBGCC=default, to help with pbuilder. - update to 5.2.8 * configure.ac: rpm and deb packaging fixes: remove incorrect MANPATH setting, fix warning with newer versions of grep. - update to 5.2.7 * tcpd: support per-local port custom -haproxy configuration. Multiple updates to the couriertcpd man page, updated documentation for ipv6 and CIDR support. * tcpd: remove -noidentlookup, implement -haproxy * couriertcpd: set the IP_FREEBIND option on all listening sockets. OBS-URL: https://build.opensuse.org/package/show/server:mail/courier-imap?expand=0&rev=129
33 lines
1.0 KiB
Desktop File
33 lines
1.0 KiB
Desktop File
[Unit]
|
|
Description=Courier IMAP (SSL)
|
|
Wants=courier-authdaemon.service
|
|
Wants=courier-imap-gencert.service
|
|
After=syslog.target
|
|
After=network.target
|
|
After=courier-authdaemon.target
|
|
After=courier-authdaemon.service
|
|
After=courier-imap-gencert.service
|
|
|
|
[Service]
|
|
EnvironmentFile=/etc/courier/imapd
|
|
EnvironmentFile=/etc/courier/imapd-ssl
|
|
Environment="SSLPIDFILE=/run/imapd-ssl.pid" "LOCKFILE=/run/imapd-ssl.pid.lock"
|
|
PIDFile=/run/imapd-ssl.pid
|
|
LimitNOFILE=65536
|
|
ExecStart=/usr/bin/env - /bin/sh -c " set -a ; \
|
|
. /etc/courier/imapd ; \
|
|
. /etc/courier/imapd-ssl ; \
|
|
IMAP_TLS=1; export IMAP_TLS; \
|
|
PROXY_HOSTNAME=$PROXY_HOSTNAME ; \
|
|
/usr/sbin/courierlogger -pid=$SSLPIDFILE -start $SSLLOGGEROPTS \
|
|
/usr/lib/courier-imap/couriertcpd -address=$SSLADDRESS \
|
|
-maxprocs=$MAXDAEMONS -maxperip=$MAXPERIP $TCPDOPTS \
|
|
$SSLPORT $COURIERTLS -server -tcpd /usr/sbin/imaplogin \
|
|
/usr/sbin/imapd $MAILDIRPATH"
|
|
ExecStop=/usr/sbin/courierlogger -pid=$SSLPIDFILE -stop
|
|
ExecStopPost=/usr/bin/rm $SSLPIDFILE $LOCKFILE
|
|
Restart=always
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|