Automatically copy tomcat application to each customer?

iScotts

Registered
Mar 14, 2014
1
0
1
cPanel Access Level
Root Administrator
Hi guys. I have a Tomcat application that I will be providing to my clients. Now I want setup my WHM in a way that when a customers signs up WHM must copy the application folder from where I stored it and into the clients account folder (Im assuming thats how WHM divides accounts?), make a few changes to some files and then execute the start.sh?

If anyone can help me get started i would really appreciate that..

Thank you looking forward to your responses..