Jean-Philippe Pialasse
f65f3a8a6a
- fix migrate fragment error [SME: 12548] - add support for quota-fs [SME: 11733] - fix ssl and config issues [SME: 12571] - use external dh parameter [SME: 10935]
19 lines
652 B
Plaintext
19 lines
652 B
Plaintext
[Service]
|
|
#first we reset the ExecStartPre
|
|
ExecStartPre=
|
|
#our needs
|
|
ExecStartPre=-/sbin/e-smith/service-status dovecot
|
|
ExecStartPre=-/sbin/e-smith/expand-template /etc/dovecot/dovecot.conf
|
|
ExecStartPre=-/sbin/e-smith/expand-template /etc/dovecot/master.users
|
|
ExecStartPre=-/sbin/e-smith/expand-template /etc/dovecot/ssl/imapd.pem
|
|
ExecStartPre=-/sbin/e-smith/systemd/dovecot-control
|
|
ExecStartPre=-/usr/sbin/portrelease dovecot
|
|
Restart=always
|
|
#SME:11733 needed for Dovecot quota-fs https://doc.dovecot.org/configuration_manual/quota/quota_fs/
|
|
PrivateDevices=off
|
|
#allow our expand-templates
|
|
PermissionsStartOnly=true
|
|
[Install]
|
|
WantedBy=sme-server.target
|
|
|