Nice script, thanks!
Will this work for multiple domains? If so, is it just a matter to add them to the "domains" variable?
Will this work for multiple domains? If so, is it just a matter to add them to the "domains" variable?
If it is all the same webroot, then yes, add them all to the domains variable.
If different webroots you might need to use the command line, which lets you run
--w /x/y/z -d example1.com --w /a/b/c -d example2.com
in one command. I'm not sure how to make that work in the configuration file, though I'm sure there's a way.