dépôts
/
lhc
/
ateliers.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Ajout : sauvegardes automatiques des bases postgresql.
[lhc/ateliers.git]
/
etc
/
sv
/
dovecot
/
remote.sh
diff --git
a/etc/sv/dovecot/remote.sh
b/etc/sv/dovecot/remote.sh
index
622e4dd
..
3255de7
100644
(file)
--- 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/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 \
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 \
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
'
'