I myself also use a script to auto-install unprivileged Dreamwidth installations on the Dreamhack box. (I'm the admin of the service right now.)
For the record, $DOMAIN isn't where you want to put the port number; that should go in $SITEROOT. That's because the $DOMAIN variable is also used in cookies.
Unfortunately there's not yet any way to use a different port number on user subdomains; bug #1895 was opened because of this.
One thing I will say - you don't mention in the copyright line who the author actually is (you)!
This script might be useful as a starting point for an installer script, I think. However, you (or anyone else who did this) would need to sign a Contributor Licensing Agreement before this could be submitted (if you/they haven't already done so), and as it is with the copyright stated in the script, I believe you're the only one who would be able to do that right now, as some rights aren't granted (such as the right to sublicense your work), so you as the copyright owner are the only one who could grant those rights. But check with staff if you want to, just in case I'm wrong; I am not a lawyer nor do I play one on TV.
no subject
I myself also use a script to auto-install unprivileged Dreamwidth installations on the Dreamhack box. (I'm the admin of the service right now.)
For the record, $DOMAIN isn't where you want to put the port number; that should go in $SITEROOT. That's because the $DOMAIN variable is also used in cookies.
Unfortunately there's not yet any way to use a different port number on user subdomains; bug #1895 was opened because of this.
One thing I will say - you don't mention in the copyright line who the author actually is (you)!
This script might be useful as a starting point for an installer script, I think. However, you (or anyone else who did this) would need to sign a Contributor Licensing Agreement before this could be submitted (if you/they haven't already done so), and as it is with the copyright stated in the script, I believe you're the only one who would be able to do that right now, as some rights aren't granted (such as the right to sublicense your work), so you as the copyright owner are the only one who could grant those rights. But check with staff if you want to, just in case I'm wrong; I am not a lawyer nor do I play one on TV.