#!/bin/sh
#
# Stop local Meta-HTML Web Servers from running.
#
for server in `cat /www/bin/LOCAL-SITES`; do
  if [ -f /www/$server/conf/mhttpd.pid ]; then
     kill -TERM `cat /www/$server/conf/mhttpd.pid`;
  fi
  if [ -f /www/$server/mhttpd/conf/mhttpd.pid ]; then
     kill -TERM `cat /www/$server/mhttpd/conf/mhttpd.pid`;
  fi
done
