summaryrefslogtreecommitdiff
path: root/cyrus-imapd.service
blob: 7993d95c1f8169d7965c8e445d8320a895ef0e44 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
[Unit]
Description=Cyrus-imapd IMAP/POP3 email server
After=local-fs.target network-online.target

Requires=cyrus-imapd-init.service
After=cyrus-imapd-init.service

[Service]
Type=simple
EnvironmentFile=/etc/sysconfig/cyrus-imapd
ExecStart=/usr/libexec/cyrus-imapd/master $CYRUSOPTIONS
ExecReload=/bin/kill -HUP $MAINPID
PrivateTmp=true

# 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

[Install]
WantedBy=multi-user.target