X-Git-Url: http://ftp.carnet.hr/carnet-debian/scm?p=dovecot-cn.git;a=blobdiff_plain;f=debian%2Fpostinst;h=dd1bf13ddad709aed8e6ba5a18b396a015cd6008;hp=2afcf7adf1dd1f0b8a7f6cb808f77cd7ff83eb7b;hb=61e2c36a2ade8df3ec5239ba9c069e14e64f0b56;hpb=cd070e8b8eb8f3b9e6fcd42b5b66033a004bb5e6 diff --git a/debian/postinst b/debian/postinst index 2afcf7a..dd1bf13 100755 --- a/debian/postinst +++ b/debian/postinst @@ -68,11 +68,7 @@ cp_check_and_sed '#ssl_protocols =' \ /etc/dovecot/conf.d/10-ssl.conf || true # restart -if [ -x /usr/sbin/invoke-rc.d ]; then - [ -x /etc/init.d/dovecot ] && invoke-rc.d dovecot restart -else - [ -x /etc/init.d/dovecot ] && /etc/init.d/dovecot restart -fi +service dovecot restart || true #DEBHELPER#