|
Mailing Lists
|
Home / Groups / ColdFusion Linux (CF-Linux)
running a script to stat ColdFusion 8?John, I run Ubuntu 8.04 an have a very basic CF8 install on it. What I did was have CF start during boot by adding a file to /etc/init.d/ called coldfuison. This is the contents of that file: #!/bin/sh # start the cf server case "$1" in 'start') /opt/coldfusion8/bin/coldfusion -start ;; 'stop') /opt/coldfusion8/bin/coldfusion -stop ;; *) echo "Usage: $0 { start | stop }" ;; esac exit 0 If you decide to use it, make sure that the two paths are correct for your install. This then runs during boot up so that the CF server will be available to any and everyone, even before they log in. Also make sure the permissions are correct on that file, or it won't run. i've got root:root and 755. Doing it this way, you won't be prompted for a password ever and you won't have to add the other people's logins to the sudoers group. You could also enable CF for each user on login by adding it to their "startup" que. http://www.howtogeek.com/howto/ubuntu/how-to-add-a-program-to-the-ubuntu-startup-list-after-login/ I don't have a GUI on my server, so I couldn't test that to see if it actually works - sorry! -Jeffrey Meagher > Hi, > is there a way to write a system script to start CF 8? Other people > are using the machine at school, but want to access the CF site and > not excited about using terminal. I think that it is easy, but that is > maybe just me. > > step (1) cd opt/coldfusion8/bin > step (2) sudo ./coldfusion start > step (3) enter admin password > > I am using Ubuntu 8.04 > |
May 19, 2013
|
|
|||||||||||||||||||||||||||||||||||||||||||||||||