sorry, i'm not a unix guru. so off to google groups i go!!!! Searched for "linux stop service"
quoted from the newgroups: ============================================================================ If you're on RH, you can use: service <service_name> stop service <service_name> start service <service_name> restart Where <service_name> is replaced with the service you want to address, e.g. xinetd, xntpd, afs, autofs, etc. and "stop", "start", "restart" are what you want the service to do. Stop kills it, start starts it, restart does a stop then start. Good luck. Cheers, Dave -- Dave Barnett System Software Engineer x1434 ============================================================================ So with that said. I gues what you could do is write a script like this (assume we are saving it to the /usr directory) Create file called CFRestart ============================ service "Put name of CF service here" restart Give it Execute Permission ========================== chmod +x /usr/CFRestart Call From CF Page ================= <cfexecute name="/usr/CFRestart"></cfexecute> Try it out and let us know what happens. ;) Anthony Petruzzi Webmaster 954-321-4703 http://www.sheriff.org -----Original Message----- From: Mak Wing Lok [mailto:[EMAIL PROTECTED]] Sent: Tuesday, April 09, 2002 1:53 AM To: CF-Talk Subject: RE: Stop/restarting CF from a web page any idea how it can be done for Unix? -----Original Message----- From: Douglas Brown [mailto:[EMAIL PROTECTED]] Sent: 09 April 2002 01:19 To: CF-Talk Subject: Re: Stop/restarting CF from a web page Here is a custom CFX tag for this, but i believe it is for NT http://devex.macromedia.com/developer/gallery/info.cfm?ID=A155CF05-7445-11D4 -AAA 400508B94F380&method=Full "Success is a journey, not a destination!!" Doug Brown ----- Original Message ----- From: "phumes1" <[EMAIL PROTECTED]> To: "CF-Talk" <[EMAIL PROTECTED]> Sent: Monday, April 08, 2002 10:08 AM Subject: Re: Stop/restarting CF from a web page > Hi, > > How can I stop and start the CF server from within a webpage? > > > > +--------------------------------------------------------------------------- ---- ----+ > > Philip Humeniuk > [EMAIL PROTECTED] > [EMAIL PROTECTED] > +--------------------------------------------------------------------------- ---- -----+ > > > ______________________________________________________________________ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists