How to create Symbolic links for Dispatcher





I need to create Symlinks in my Enabled farm and vhost folder as part of my code repository for Cloud Manager.

Previously I used to create them after deployment right in the AEM box by issuing commands:


sudo /bin/ln -s /etc/httpd/conf.d/available_vhosts/* /etc/httpd/conf.d/enabled_vhosts/
sudo /bin/ln -s /etc/httpd/conf.dispatcher.d/available_farms/* /etc/httpd/conf.dispatcher.d/enabled_farms/


But as per Cloud Manager requirement, I need to create and push the Symlinks as part of the code Repo itself. Any suggestion how to do it locally using IDE like Eclipse/VSCode..?

Answers (0)