subdomain_create_post.sh

Runs AFTER the subdomain is created

echo "/usr/local/directadmin/scripts/nginx_direct.sh -u $username" >> /usr/local
/nginx/etc/task.nginx

environmental variables:

  • username=ownerofdomain
  • domain=domain.com
  • subdomain=sub
  • contents=1 or 0 - only for destroy. Specifies that the director

y and contents are being removed.

 
nginx/subdomain_create_post.sh.txt · Last modified: 2010/02/07 17:50 by admin
 
Except where otherwise noted, content on this wiki is licensed under the following license:CC Attribution-Noncommercial-Share Alike 3.0 Unported
Please visit Automatic Backlinks to start earning free backlinks Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki credit debt settlement