As install hooks are not working on publish we need a different solution.
Startup hook: isues because content packages are replicated to publish. The bundle will be started before and the startup hook not work.
Potential solution: locate scripts in /apps to handle them as part of the software in the image
We need to make sure that scripts are executed only during content deployment, not during image building.
Resource listeners: should work but we loose the grouping of a package installation
Scripts with "always" flag will not be executed, too.
As install hooks are not working on publish we need a different solution.
Startup hook: isues because content packages are replicated to publish. The bundle will be started before and the startup hook not work. Potential solution: locate scripts in /apps to handle them as part of the software in the image We need to make sure that scripts are executed only during content deployment, not during image building.
Resource listeners: should work but we loose the grouping of a package installation Scripts with "always" flag will not be executed, too.