X-Git-Url: https://iankelling.org/git/?a=blobdiff_plain;f=mail-setup;h=5c5ccae88509f5b3f27badec8d96c92eefb94bad;hb=4e735a2e1807351e4a11f2fe4cda427e18e0d550;hp=4325b7a79d7c8e4913bbb14afe55ce3106ba6bed;hpb=01083a0fcfcea5d45731b6b7cf1bffe3725ac134;p=distro-setup diff --git a/mail-setup b/mail-setup index 4325b7a..5c5ccae 100755 --- a/mail-setup +++ b/mail-setup @@ -541,7 +541,7 @@ PrivateNetwork=true BindPaths=$bindpaths Restart=always # time to sleep before restarting a service -RestartSec=1 +RestartSec=20 [Install] WantedBy=multi-user.target @@ -563,7 +563,7 @@ PrivateNetwork=true ExecStart=/usr/bin/flock -w 20 /tmp/newns.flock /a/bin/newns/newns -n 10.173.8 start mail ExecStop=/usr/bin/flock -w 20 /tmp/newns.flock /a/bin/newns/newns stop mail Restart=always -RestartSec=10 +RestartSec=20 [Install] @@ -598,7 +598,7 @@ Type=simple ExecStart=/usr/local/bin/mailbindwatchdog $vpnser ${nn_progs[@]} unbound.service radicale.service Restart=always # time to sleep before restarting a service -RestartSec=1 +RestartSec=10 [Install] WantedBy=multi-user.target @@ -675,7 +675,7 @@ PrivateNetwork=true BindPaths=$bindpaths Restart=always -RestartSec=1 +RestartSec=20 EOF # sooo, there are a few ways to get traffic from the mail network @@ -726,7 +726,7 @@ PrivateNetwork=true BindPaths=$bindpaths Restart=always -RestartSec=1 +RestartSec=20 EOF done ;; @@ -1277,7 +1277,7 @@ PrivateNetwork=true BindPaths=$bindpaths Restart=always # time to sleep before restarting a service -RestartSec=1000 +RestartSec=20 [Install] # for openvpn @@ -2562,7 +2562,7 @@ StartLimitIntervalSec=0 [Service] Restart=always # time to sleep before restarting a service -RestartSec=1 +RestartSec=20 EOF i /etc/default/exim4in <<'EOF' @@ -2677,7 +2677,7 @@ StartLimitIntervalSec=0 [Service] Restart=always -RestartSec=300 +RestartSec=20 EOF else