Added missing quotation mark.
Improved the upstart script
- Added kill timeout to allow for proper shutdown if needed
- Changed when it starts
- Added pre-stop script that checks if tomcat is starting. If so waits 120s to allow for proper tomcat start before stopping. This not to interrupt with start and possibly corrupt data.
- Now calls 'catalina.sh stop' for stopping tomcat (and use upstart TERM and KILL as secondary stop methods)
- Added Upstart script to call the iptables script.