Skip to main content
Participant
April 19, 2008
Answered

Disabling Autostart for CF8 on Leopard

  • April 19, 2008
  • 1 reply
  • 635 views
I installed ColdFusion 8.0.1 (multiserver) on OS 10.5.2 and chose to allow it to start when the system boots. I want to be able to shut down ColdFusion and disable autostart if I need to in the future. I downloaded Lingon, but I'm not sure what entries to use in Lingon for ColdFusion (or even if I should use Lingon at all). Can anyone tell me how to control whether ColdFusion starts at boot and how to manually stop ColdFusion on Leopard? Thanks!

UPDATE: I found I can stop ColdFusion using the "ColdFusion Launcher" in the JRun4 folder, but I still haven't found a way to keep ColdFusion from starting when the system boots. I've tried uninstalling ColdFusion and then re-installing and deselecting the option to start ColdFusion when the system boots, but ColdFusion still runs at boot time. I see no launchd config in Lignon and nothing in Login items so I don't know how ColdFusion is being started (and how to stop it).
    This topic has been closed for replies.
    Correct answer Vinu_kumar_t
    By the way, I neglected to mention that this is a problem for both the 64-bit and the 32-bit version of ColdFusion. I installed the 64-bit on my Mac Pro and the 32-bit on a MacBook Pro (the first Intel version) with autostart selected during the initial install. Now there is no way to turn autostart off -- even if you uninstall and re-install without autostart selected.

    Running "./cf-init.sh uninstall" does not appear to work -- is there anything else I do to clean out whatever code automatically starts ColdFusion?

    Hi
    You can go ahead and remove the startup file located at /Library/StartupItems/ColdFusion8Multi (for multiserver) and /Library/StartupItems/ColdFusion8 (for standalone). This should solve your issue.

    Thanks
    - Vinu

    1 reply

    Participating Frequently
    April 20, 2008
    Hi Paul,
    To remove you can do the following:
    1) Goto /Applications/ColdFusion8/bin
    2) sudo ./cf-init.sh uninstall
    This will remove the init scripts.
    To reinstall just run
    sudo ./cf-init.sh install

    You can also start and stop coldfusion using the following command in the same directory:

    sudo ./coldfusion {start/stop/restart}


    mediablurAuthor
    Participant
    April 20, 2008
    Thanks very much for the reply. I ran "sudo ./cf-init.sh uninstall" in /Applications/JRun4/bin and received a message that it succeeded, but when I rebooted JRun (and ColdFusion) still ran during boot.

    Is there a difference between a standard ColdFusion install and a multiserver install that requires a different method to disable JRun/ColdFusion from running when the system boots? Thanks!
    mediablurAuthor
    Participant
    April 22, 2008
    By the way, I neglected to mention that this is a problem for both the 64-bit and the 32-bit version of ColdFusion. I installed the 64-bit on my Mac Pro and the 32-bit on a MacBook Pro (the first Intel version) with autostart selected during the initial install. Now there is no way to turn autostart off -- even if you uninstall and re-install without autostart selected.

    Running "./cf-init.sh uninstall" does not appear to work -- is there anything else I do to clean out whatever code automatically starts ColdFusion?