Script for control webmin running for DEBIAN
#!/bin/bash
if /etc/init.d/webmin status | grep "stopped" >/dev/null
then
echo "Webmin is stopped. Restarting..."
/etc/init.d/webmin start
else
echo "Webmin is running."
fi
#into cronbjob: */30 * * * * <path>/checkwebmin.chk >/dev/null 2>&1