From 839e453418783fb2f5718d5167aa0720a4010cd5 Mon Sep 17 00:00:00 2001 From: Jesse Luehrs Date: Thu, 6 Dec 2018 05:19:12 -0500 Subject: sync wireguard secrets to newmail, not old old mail server can't even run wireguard --- bin/algo-config | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'bin') 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" -- cgit v1.2.3-54-g00ecf