Add support for dbdir, htmldir, logdir, rundir
At least htmldir is needed to support html_strategy cron on Debian. It was easy enough to add support for all the rest of this while I was there.