2011-04-04 15:10:19 +00:00
|
|
|
[Unit]
|
|
|
|
Description=Cyrus-imapd IMAP/POP3 email server
|
|
|
|
After=local-fs.target network.target
|
|
|
|
|
2016-12-21 22:01:39 +00:00
|
|
|
Requires=cyrus-imapd-init.service
|
|
|
|
After=cyrus-imapd-init.service
|
|
|
|
|
2011-04-04 15:10:19 +00:00
|
|
|
[Service]
|
|
|
|
Type=simple
|
|
|
|
EnvironmentFile=/etc/sysconfig/cyrus-imapd
|
|
|
|
ExecStartPre=/usr/lib/cyrus-imapd/cyr_systemd_helper start
|
|
|
|
ExecStart=/usr/lib/cyrus-imapd/cyrus-master $CYRUSOPTIONS
|
|
|
|
ExecStopPost=/usr/lib/cyrus-imapd/cyr_systemd_helper stop
|
2012-02-07 14:57:28 +00:00
|
|
|
PrivateTmp=true
|
2011-04-04 15:10:19 +00:00
|
|
|
|
2016-12-16 16:23:59 +00:00
|
|
|
# Cyrus may spawn many processes in normal operation. These figures are higher
|
|
|
|
# than the defaults, but may still need to be tuned for your local
|
|
|
|
# configuration.
|
|
|
|
TasksMax=2048
|
|
|
|
LimitNOFILE=16384
|
|
|
|
|
2011-04-04 15:10:19 +00:00
|
|
|
[Install]
|
|
|
|
WantedBy=multi-user.target
|