Listener files (Stable branch - Next serie 1.2.x) only

  • In the stable branch (next serie 1.2.x) the hook files are deprecated in favor of listener files.


    See the related documentation for further information: https://github.com/i-MSCP/imsc…onfigs/debian/listeners.d


    Note: During upgrade, the /etc/imscp/hooks.d directory is automatically moved to the new location /etc/imscp/listeners.d but you'll have to run the installer twice because on the first run, the listeners will not be loaded.


    @TheCry , @mrpink


    Does some plugins are installing some hook files? If yes, we must just add a check on the i-MSCP codename (eg. if codename is eagle ---> hook files must be installed into /etc/imscp/hooks.d, else, they must be installed into /etc/imscp/listeners.d). From my side, only the TemplateEditor plugin installs its own hook file (now called listener file).


    EDIT: It's no longer needed to run the installer twice. A compatibility rustine has been added.

    badge.php?id=1239063037&bid=2518&key=1747635596&format=png&z=547451206