devilbox/cfg/php-startup-5.6
2022-12-25 17:37:58 +01:00
..
.keepme Add check-config.sh script for local troubleshooting 2020-11-12 14:19:49 +01:00
01-update-apt-index.sh-example Add examples for how to install Ms ODBC after accepting the license 2018-12-25 16:39:34 +01:00
README.md Add PHP version number to README files in cfg/ dir 2022-12-25 17:37:58 +01:00

Custom startup scripts (for PHP 5.6 only)

Any script inside this directory ending by .sh will be executed during the PHP container startup. This is useful to apply your custom settings such as installing software that usually requires the user to accept a license or similar.

A few examples are given that do not end by .sh which won't be run. If you want to use the provided examples, copy them to a file ending by .sh

Info

If you want to autostart NodeJS applications, you can use pm2. Ensure you do this as user devilbox, as by default everything is run by root.

su -c 'cd /shared/httpd/node/node; pm2 start index.js' -l devilbox

Note

This directory will startup commands only for a specific PHP version. If you want to run commands for all versions , go to autostart/ in the root of the Devilbox git directory.

Important

All provided scripts will be executed with root permissions.