2019-05-07 12:11:21 +00:00
|
|
|
[Unit]
|
|
|
|
Description=One-time configuration for cyrus-imapd
|
|
|
|
|
|
|
|
ConditionPathExists=!/etc/pki/cyrus-imapd/cyrus-imapd.pem
|
|
|
|
ConditionPathExists=!/etc/pki/cyrus-imapd/cyrus-imapd-key.pem
|
|
|
|
ConditionPathExists=!/etc/pki/cyrus-imapd/cyrus-imapd-ca.pem
|
|
|
|
|
|
|
|
[Service]
|
|
|
|
Type=oneshot
|
2020-11-03 11:53:21 +00:00
|
|
|
Group=mail
|
2019-05-07 12:11:21 +00:00
|
|
|
RemainAfterExit=no
|
2020-11-03 11:53:21 +00:00
|
|
|
ExecStart=/usr/bin/sscg --package cyrus-imapd --cert-file /etc/pki/cyrus-imapd/cyrus-imapd.pem --cert-key-file /etc/pki/cyrus-imapd/cyrus-imapd-key.pem --ca-file /etc/pki/cyrus-imapd/cyrus-imapd-ca.pem --cert-key-mode=0640
|