diff options
author | Jesse Luehrs <doy@tozt.net> | 2018-12-06 05:19:12 -0500 |
---|---|---|
committer | Jesse Luehrs <doy@tozt.net> | 2018-12-06 05:19:12 -0500 |
commit | 839e453418783fb2f5718d5167aa0720a4010cd5 (patch) | |
tree | def1be055b679833f14708346a9d5756e519a2bf | |
parent | 0041d604e5f4de79949d425a57308117b9bcf49a (diff) | |
download | puppet-tozt-839e453418783fb2f5718d5167aa0720a4010cd5.tar.gz puppet-tozt-839e453418783fb2f5718d5167aa0720a4010cd5.zip |
sync wireguard secrets to newmail, not old
old mail server can't even run wireguard
-rwxr-xr-x | bin/algo-config | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/bin/algo-config b/bin/algo-config index 6026921..dbd8781 100755 --- a/bin/algo-config +++ b/bin/algo-config @@ -34,7 +34,9 @@ $secrets_bin sync partofme # mail sed 's|^AllowedIPs.*|AllowedIPs = 10.19.49.0/24, fd9d:bc11:4021::/48, 172.16.0.1/32|' "$config_path/mail.conf" > "$config_path/mail-not-captive.conf" -scp "$config_path/mail-not-captive.conf" root@mail.tozt.net:/etc/wireguard/algo.conf +# scp "$config_path/mail-not-captive.conf" root@newsmtp.tozt.net:/etc/wireguard/algo.conf +cp "$config_path/mail-not-captive.conf" /mnt/puppet/mail/wireguard +$secrets_bin sync mail # phone echo "algo-captive" |