Post install script
Is there a way to run a script after cPanel installs? Similar to
Script Hooks - EasyApache - cPanel Documentation
but one that execute after a cPanel installation is done
-
Hello, No such hooks exist for the cPanel installation, however you can customize the installation using the instructions at: Installation Guide - Customize Your Installation - Documentation - cPanel Documentation Could you provide an example of the type of actions you need to complete post-installation? Thank you. 0 -
I have a bash script that runs which installs some plugins like CSF, downloads a preconfigured cpanel.config, configures /etc/wwwacct.conf, umm just random things, but I literally just need to execute one bash script to do it all. 0 -
Why not add the cPanel install to your bash script? 0 -
Hello, Yes, as mentioned, you could add the command to begin the cPanel installation to your custom bash script, and then run the custom bash script to initiate the installation. Thank you. 0
Please sign in to leave a comment.
Comments
4 comments