Modification : $vm_ -> $local_ .
[lhc/ateliers.git] / etc / sv / dovecot / remote.sh
index d28f0f6..622e4dd 100644 (file)
@@ -1,14 +1,14 @@
-"$tool"/remote/site-x509-key-decrypt imap."$vm_domainname" |
+"$tool"/remote/site-x509-key-decrypt imap."$local_domainname" |
 "$tool"/remote/ssh -l root ' \
        sudo install -d -m 770 -o root -g root \
-        /etc/dovecot/'"$vm_domainname"'/ \
-        /etc/dovecot/'"$vm_domainname"'/imap \
-        /etc/dovecot/'"$vm_domainname"'/imap/x509 ; \
+        /etc/dovecot/'"$local_domainname"'/ \
+        /etc/dovecot/'"$local_domainname"'/imap \
+        /etc/dovecot/'"$local_domainname"'/imap/x509 ; \
        sudo install -m 644 -o root -g root /dev/stdin \
-        /etc/dovecot/'"$vm_domainname"'/imap/x509/.gitignore <<-EOF
+        /etc/dovecot/'"$local_domainname"'/imap/x509/.gitignore <<-EOF
                key.pem
                EOF
        sudo install -m 400 -o root -g root \
         /dev/stdin \
-        /etc/dovecot/"$vm_domainname"/imap/x509/key.pem
+        /etc/dovecot/"$local_domainname"/imap/x509/key.pem
  '