Andrea
Hello, I'd like to run a script immediately after a new site creation, let's call il "post creation hook". It would be useful this script can access system-user name, website directory and other system variables.
e.g. I want to automate scaffold creation for every new site I publish. I also want to automate php-fpm pool customization and nginx config.
Dennis
How'd you like to see this UI-wise without cluttering too much?
Andrea
Item authorI'd like to have a dropdown inside New site > "Advanced settings". From here I can select which script to run (I imagine a bash script I previously uploaded). In my specific use case, the script will make use of wp-cli to download plugins, load settings and so on.
Alternatively, it would be more than enough allow me to choose Custom templates for php-fpm too. These php-fpm allows me to specify pm.max_children, min_servers, max_servers and all the settings I usually change on the websites.
Run a custom script after website creation
-
Dennis moved item to board Under review
1 year ago -
Andrea moved item to project Site Level Requests
1 year ago -
Andrea created the item
1 year ago