PDA

View Full Version : adding more to the skeleton directories


davidb
11-20-2004, 12:36 PM
I would like to be able to have the system create some subdirs in the public_html folder. where do I set this up?

jmstacey
11-20-2004, 11:12 PM
You can add it to the script that runs after a domain is created.
See the readme file in /usr/local/directadmin/scripts/custom

Striker
08-06-2005, 07:36 AM
Hi, I went into ssh to the directory but I caanot find the .conf file it says to modify :(

Anyone can help me please ?

Basically I want futur domains to have upon creation some scripts installed by itself.

Thanks in advance!

jmstacey
08-06-2005, 10:34 PM
Read the readme file
/usr/local/directadmin/scripts/custom/README

Depending on when you want the script to run you name it either domain_create_pre.sh or domain_create_post.sh

Put the commands you desire in the file.