virtualmin run sql script upon creation

1 post / 0 new
#1 Tue, 08/02/2016 - 02:39
shemeri

virtualmin run sql script upon creation

Hello,

Is there away to execute a sql script upon virtual host creation?

What I need to do is that everytime I create a virtual host with a specific server template, I also execute a sql script on the created virtual host database? I have created a server template but there is no option for that, which would be really nice option :-)