Sim wrote:
Bill, can You implement this steps?
cd /package/admin/
mkdir clear
touch clear/down
cat > clear/run <<EOF
#!/bin/sh
yes '' | head -4000 | tr '\n' .
# When you want to clear the service errors, just run this:
# svc -o /service/clear
EOF
chmod +x clear/run
chmod a-w clear/down
ln -s /package/admin/clear /service/.clear
mv /service/.clear /service/clear
and....
clear)
echo "Clearing readproctitle service errors with ................."
svc -o /service/clear
;;
into "/usr/bin/qmailctl"
Thanks!
Very interesting. I'll test it out, and likely add it to qmailctl.
thanks,
Bill