f33aeb9844
It turns that, at least in cyrus 3, the cyr_systemd_helper script will end up wiping out your databases every time the daemon starts. It was something that was needed to handle the horror that was Berkeley DB/Sleepycat DB/whatever it's called today, but Cyrus no longer supports BDB and so there's no point.
22 lines
532 B
Desktop File
22 lines
532 B
Desktop File
[Unit]
|
|
Description=Cyrus-imapd IMAP/POP3 email server
|
|
After=local-fs.target network.target
|
|
|
|
Requires=cyrus-imapd-init.service
|
|
After=cyrus-imapd-init.service
|
|
|
|
[Service]
|
|
Type=simple
|
|
EnvironmentFile=/etc/sysconfig/cyrus-imapd
|
|
ExecStart=/usr/lib/cyrus-imapd/cyrus-master $CYRUSOPTIONS
|
|
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
|