64295f2be8
sscg should be run as mail group otherwise pem file is not accessible by mail group thus by imap process
13 lines
496 B
Desktop File
13 lines
496 B
Desktop File
[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
|
|
Group=mail
|
|
RemainAfterExit=no
|
|
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
|