Automatically copy tomcat application to each customer?
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..
-
Hello :) This would involve developing a custom script that runs automatically after an account is created. After you develop a script that performs the tasks you need it to, you could have it run automatically after each account is created through a hook. The following documents are a good place to start: Standardized Hooks - Hookable Events Accounts::Create Hookable Event Thank you. 0
Please sign in to leave a comment.
Comments
1 comment