summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xbin/algo-config4
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"