How about writing a little script, your own RESTART script.
execute it from CF,
and execute the stop and start in the same file ?
Thats how I do it.
Example.
Execute the file /myscript from CF.
Contents of /myscript
/usr/opt/coldfusion/bin/stop | mail -s "Stopping CF" nobody
/usr/opt/coldfusion/bin/start | mail root -s "Starting CF" nobody
The mail is just for debugging.
____________________
Herman A Cremer
Systems Engineer &
Developer
SolidLiquid Pty Ltd
South Africa
+27 (0) 12 665 0636
____________________
-----Original Message-----
From: Justin Buist [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, July 18, 2001 7:56 PM
To: CF-Server
Subject: Re: Commandline options for cfexec
Don't beleive so -- and I don't see a reason why you would want to.
The
script in /etc/rc.d/coldfusion will shutdown cfexec and cfserver for
you.
You can pass it either 'start' or 'stop'. There's no 'restart' so you
need to make two calls to the script to get a full shutdown and
startup.
Justin Buist
Trident Technology, Inc.
4700 60th St. SW, Suite 102
Grand Rapids, MI 49512
Ph. 616.554.2700
Fx. 616.554.3331
Mo. 616.291.2612
On Wed, 18 Jul 2001, <"[EMAIL PROTECTED]>,Russell" wrote:
> Does anyone know if you can pass any commandline parameters to the
> cfexecutive like /shutdown or /restart??
>
> Russ Johnson
> Web Environment Services
> Blue Cross Blue Shield of Florida
> Work: 904-905-7130
> Mobile: 904-534-8162
> [EMAIL PROTECTED]
>
> "Great thinkers have always encountered violent opposition from
mediocre
> minds." -- Albert Einstein
>
>
>
> Blue Cross Blue Shield of Florida, Inc., and its subsidiary and
> affiliate companies are not responsible for errors or omissions in
this e-mail message. Any personal comments made in this e-mail do not
reflect the views of Blue Cross Blue Shield of Florida, Inc.
>
>
>
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at
http://www.fusionauthority.com/bkinfo.cfm
------------------------------------------------------------------------------
To unsubscribe, send a message to [EMAIL PROTECTED] with
'unsubscribe' in the body or visit the list page at www.houseoffusion.com