forked from pool/courier-imap
d1ec49eb31
update to 4.15, add systemd stuff OBS-URL: https://build.opensuse.org/request/show/226279 OBS-URL: https://build.opensuse.org/package/show/server:mail/courier-imap?expand=0&rev=66
27 lines
826 B
Desktop File
27 lines
826 B
Desktop File
[Unit]
|
|
Description=Courier POP3
|
|
Wants=courier-authdaemon.service
|
|
After=syslog.target
|
|
After=network.target
|
|
After=courier-authdaemon.target
|
|
After=courier-authdaemon.service
|
|
|
|
[Service]
|
|
EnvironmentFile=/etc/courier/pop3d
|
|
Environment="PIDFILE=/run/pop3d.pid" "LOCKFILE=/run/pop3d.pid.lock"
|
|
PIDFile=/run/pop3d.pid
|
|
LimitNOFILE=65536
|
|
ExecStart=/usr/bin/env - /bin/sh -c " set -a ; \
|
|
. /etc/courier/pop3d ; \
|
|
PROXY_HOSTNAME=$PROXY_HOSTNAME ; \
|
|
/usr/sbin/courierlogger -pid=$PIDFILE -start $LOGGEROPTS \
|
|
/usr/lib/courier-imap/couriertcpd -address=$ADDRESS \
|
|
-maxprocs=$MAXDAEMONS -maxperip=$MAXPERIP $TCPDOPTS \
|
|
$PORT /usr/sbin/pop3login /usr/sbin/pop3d $MAILDIRPATH"
|
|
ExecStop=/usr/sbin/courierlogger -pid=$PIDFILE -stop
|
|
ExecStopPost=/usr/bin/rm $PIDFILE $LOCKFILE
|
|
Restart=always
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|