Compound Theory

v2.0

Categories

  1. Transfer
  2. ColdFusion
  3. JRuby
  4. Java
  5. ColdSpring
  6. Squabble
  7. JavaLoader
  8. ColdDoc
  9. 2ddu
  10. AsyncHTTP
  11. OO Analysis and Design
  12. Flex
  13. Railo
  14. XML / XSL
  15. Hibernate
  16. ColdFusion Builder
  17. Fall
  18. Ubuntu
  19. XHTML / CSS
  20. Eclipse
  21. Git
  22. Oracle Database
  23. Usability / UI Design
  24. webDU
  25. cf.Objective()
  26. LWJGL
  27. cf.Objective(ANZ)
  28. Captcha
  29. MAX
  30. Melbourne CFUG
  31. Martial Arts
  32. Random Things
  33. Conduit

Recent Posts

Projects

Recent Comments

29 May 2012 11:47 AM

ColdFusion 10 with Ubuntu Upstart

Setting up ColdFusion 10 on an Ubuntu Server, and as per usual, the installation option to start up ColdFusion when the server starts does not work on Linux.

So I wondered how hard it would be to set this up using Upstart, and it was surprisingly easy with a few bit of trial and error.

This is what I would eventually came up with:

Unfortunately, I would like this to respawn if it somehow dies, and it doesn't look like this style of setting up will work for that.

Anyone else tried this? What did you come up with?



Comments

Posted by Sergii on 29 May 2012 04:15 PM

Last time for ACF9 I've used old-style method: rc.d. For manual installation it means copying coldfusion shell script to /etc/init.d/coldfusion and then installing it like this:

cd /etc/init.d/
update-rc.d coldfusion defaults 51

Removing is also simple:

update-rc.d -f coldfusion remove

I don't know if it handles the respawning, though. I guess it is pretty easy to set up watchdog cron job wich would use ps + grep to find out whether process is running.

Add Comment