X-Git-Url: https://git.cyclocoop.org/?p=lhc%2Fateliers.git;a=blobdiff_plain;f=etc%2Fsv%2Fdovecot%2Fremote.sh;h=3255de7e17d8fcf0d1c87a405c5a0fc0d6d5cde9;hp=622e4dda1bab9c02c77d93b1ce9f882602c62788;hb=f5e12fec2c7ef8d743e2d3e32c3bbe37b40c7a73;hpb=6647e7fb851e2dbe5a5c7ec60358f7371bf17183 diff --git a/etc/sv/dovecot/remote.sh b/etc/sv/dovecot/remote.sh index 622e4dd..3255de7 100644 --- a/etc/sv/dovecot/remote.sh +++ b/etc/sv/dovecot/remote.sh @@ -1,5 +1,5 @@ "$tool"/remote/site-x509-key-decrypt imap."$local_domainname" | -"$tool"/remote/ssh -l root ' \ +"$tool"/remote/ssh root@"$local_fqdn" ' \ sudo install -d -m 770 -o root -g root \ /etc/dovecot/'"$local_domainname"'/ \ /etc/dovecot/'"$local_domainname"'/imap \ @@ -10,5 +10,5 @@ EOF sudo install -m 400 -o root -g root \ /dev/stdin \ - /etc/dovecot/"$local_domainname"/imap/x509/key.pem + /etc/dovecot/'"$local_domainname"'/imap/x509/key.pem '