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.
Dennis
Hello! 👋
Thank you for taking the time to share your feature suggestion with us. While we currently don't have plans to implement this specific feature, we appreciate your input and will keep it on our radar for future consideration.
If this suggestion gains more support from our user community, we'll certainly revisit the idea. In the meantime, you may find that you can achieve similar results through manual setup, if applicable to your situation.
Alternatively, if applicable, you could consider adding this request to the Ploi roadmap.
Thanks again for your contribution to our ongoing efforts to improve Ploi!
Run a custom script after website creation
-
Dennis moved item to board Closed
7 months ago -
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