|
@@ -1664,6 +1664,8 @@ function refresh_gpg_keys {
|
1664
|
1664
|
}
|
1665
|
1665
|
|
1666
|
1666
|
function prevent_mail_process_overrun {
|
|
1667
|
+ # This prevents any large buildup of exim processes, perhaps due to
|
|
1668
|
+ # Tor unavailability, from disabling the server
|
1667
|
1669
|
{ echo '#!/bin/bash';
|
1668
|
1670
|
echo "exim_ctr=\$(pgrep \"exim4\" | wc -l)";
|
1669
|
1671
|
echo "if [ \"\$exim_ctr\" -gt 5 ]; then";
|