Issue Bug Closed

#92023Post update shell hook (skript)

C. Gogolin 08/16/20, 14:47 updated 08/23/20, 21:44

Description

Hi together…

I have a wish for the CoreUpdateService:

I would like a shell script to be executed after the update. For example: If the file PostUpdateHook.sh exists in the directory typo3conf it will be executed after the update.

Background: My provider offers different PHP versions.
In the file: /typo3/sysext/core/bin/typo3 is

#!/usr/bin/env php
<?php
...

For this to work with my provider, the first line must be exchanged:

#!/usr/bin/env php7.4-cli
<?php
...

I think a post update script would be very useful for this. Or is there already such a hook I have not found yet?

Thanks for the help up front…

Translated with www.DeepL.com/Translator (free version)

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.