X-Git-Url: https://git.cyclocoop.org/?p=lhc%2Fateliers.git;a=blobdiff_plain;f=etc%2Fsv%2Fpostfix%2Flocal.sh;h=2c64f52f83b62b88f6c187934884f4c8bc53fae4;hp=8d6230d0c31cae551761ea6a977563c39a2965ad;hb=a11ad78672a096632b15a660509d7dd5f7c5eae5;hpb=0d705d8e2a919ee40866307aa3e18b1a5c4e7583 diff --git a/etc/sv/postfix/local.sh b/etc/sv/postfix/local.sh index 8d6230d..2c64f52 100644 --- a/etc/sv/postfix/local.sh +++ b/etc/sv/postfix/local.sh @@ -1,5 +1,5 @@ -sudo test -f /etc/postfix/$local_domainname/smtpd/x509/key.pem || -printf '%s\n' "$(tput rev)run before: remote/runit-configure dovecot$(tput sgr0)" && exit 1 +hint="run before: remote/runit-configure $sv" +assert 'sudo test -f /etc/postfix/$local_domainname/smtpd/x509/key.pem' hint sudo debconf-set-selections <<-EOF postfix postfix/main_mailer_type select No configuration