Bob Mottram 7 years ago
parent
commit
6e578a8bb7
1 changed files with 2 additions and 0 deletions
  1. 2
    0
      src/freedombone-base-email

+ 2
- 0
src/freedombone-base-email View File

1664
 }
1664
 }
1665
 
1665
 
1666
 function prevent_mail_process_overrun {
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
     { echo '#!/bin/bash';
1669
     { echo '#!/bin/bash';
1668
       echo "exim_ctr=\$(pgrep \"exim4\" | wc -l)";
1670
       echo "exim_ctr=\$(pgrep \"exim4\" | wc -l)";
1669
       echo "if [ \"\$exim_ctr\" -gt 5 ]; then";
1671
       echo "if [ \"\$exim_ctr\" -gt 5 ]; then";