Variables in domain_create_post.sh

Petertjuh360

Verified User
Joined
Nov 7, 2010
Messages
340
Hello,

I want to create the custom script domain_create_post.sh. How do I retrieve and use the domain variable used by DirectAdmin?

Kind Regards,
Peter
 
Thank you Alex.

I already saw the article but I do not know how to use the variables. Do I use {domain} to retrieve the domain or what?
 
You should use it as a bash variable, like ${domain} or just $domain.
 
Back
Top