This website is deprecated, and remains online only for historic access to old issues and docs for historic versions of Virtualmin. It has been unmaintained for several years, and should not be relied on for up-to-date information. Please visit www.virtualmin.com instead.
I was wondering if there was a variable for the template name, for when you create a VHost? I only want to run scripts when hosts with certain templates are generated.
Ah fair enough, yeah I thought so. I got around it by assigning a group to every user created with that template, and in the bash script running a regex to find that group. Seems to be working well :)
Howdy,
Unfortunately, I don't think that's currently an option.... but I can talk to Jamie and see about adding that for a future release.
-Eric
Ah fair enough, yeah I thought so. I got around it by assigning a group to every user created with that template, and in the bash script running a regex to find that group. Seems to be working well :)
Cheers,
Hannah