Comments
This commit is contained in:
parent
3e913e5887
commit
6e578a8bb7
|
@ -1664,6 +1664,8 @@ function refresh_gpg_keys {
|
||||||
}
|
}
|
||||||
|
|
||||||
function prevent_mail_process_overrun {
|
function prevent_mail_process_overrun {
|
||||||
|
# This prevents any large buildup of exim processes, perhaps due to
|
||||||
|
# Tor unavailability, from disabling the server
|
||||||
{ echo '#!/bin/bash';
|
{ echo '#!/bin/bash';
|
||||||
echo "exim_ctr=\$(pgrep \"exim4\" | wc -l)";
|
echo "exim_ctr=\$(pgrep \"exim4\" | wc -l)";
|
||||||
echo "if [ \"\$exim_ctr\" -gt 5 ]; then";
|
echo "if [ \"\$exim_ctr\" -gt 5 ]; then";
|
||||||
|
|
Loading…
Reference in New Issue