X-Git-Url: https://iankelling.org/git/?a=blobdiff_plain;f=system-status;h=34ad07a20ccf7f0d209000d9da67899d97d0d08d;hb=ca61084446e48fb0703ce2a203c1bd18ceaf4dfb;hp=745e33515fa5c0cc47996b7bc0a7b2d402ebab67;hpb=989554cab0d0c59d1aab20496ba9550acd17e6e6;p=distro-setup diff --git a/system-status b/system-status index 745e335..34ad07a 100755 --- a/system-status +++ b/system-status @@ -290,8 +290,8 @@ write-status() { # shellcheck disable=SC2016 # exim var, not a bash bar if (( $(date -d "$(exim -Mset $mid -be <<<'$h_date:' | sed -n 's/^> *//;/./p')" +%s) < EPOCHSECONDS )); then if ip a show veth0-mail &>/dev/null; then - pid=$(pgrep -f "/usr/sbin/exim4 -bd -q30m -C /etc/exim4/my.conf"|head -n1); - nsenter -t $pid -n -m /usr/sbin/exim4 -C /etc/exim4/my.conf -M $mid + pid=$(pgrep -f "/usr/sbin/exim4 -bd -q30m -C /etc/exim4/nn-mainlog.conf"|head -n1); + nsenter -t $pid -n -m /usr/sbin/exim4 -C /etc/exim4/nn-mainlog.conf -M $mid else /usr/sbin/exim4 -M $mid fi