This website uses cookies to ensure you get the best experience. Learn More.
How to publish your Liferay based product in the AWS marketplace
$sudo ln -s /etc/init.d/tomcat /etc/rc1.d/K99tomcat $sudo ln -s /etc/init.d/tomcat /etc/rc2.d/S99tomcat
$sudo ln -s /etc/init.d/tomcat /etc/rc1.d/K99tomcat
$sudo ln -s /etc/init.d/tomcat /etc/rc2.d/S99tomcat
$curl http://169.254.169.254/latest/meta-data/instance-id
Don't forget to run the main script on start-up, similarly to the previous tomcat script. Just change the IDs from 99 to 98.