The Standing Cloud platform allows you to create a single post-deployment script to be run each time your application is restored or cloned from a backup.
The script must be a .sh, .pl, or .py file and may use the following environment variables:
WWW_BASE_DIR - /var/www/<>/
WWW_CODE_DIR - /var/www/<>/htdocs
WWW_LOG_DIR - /home/<>/log
JAVA_HOME - Directory where Java JRE is installed (if applicable).
NOTE: These variables are available for use within the post-deployment script. Running them from the command line may not be available.
Once the script is uploaded, it is saved to a new directory ( ~/autorun ) and named: 50-autorun.sh, 50-autorun.pl or 50-autorun.py
Should you upload a new script, the original will be overwritten with the same name.
If you have any questions regarding this feature, please contact email@example.com