Four Js Development Tools Forum

Discussions by product => GAS and GBC => Topic started by: Tim S. on April 20, 2011, 07:54:56 pm



Title: Launching fastcgidispatch in standalone mode as a service/cron
Post by: Tim S. on April 20, 2011, 07:54:56 pm
Hello,

What is the recommended method for launching fastcgidispatch in standalone mode so that it is always running?
(I  understand I have to use "fastcgidispatch -s")

Is there already a service script somewhere that I can place in /etc/init.d?
Do I have to build my own start/stop/reload script if I want to treat it like any other service?
Should I launch it from cron?


Thanks for your input,
Tim Sodowsky


Title: Re: Launching fastcgidispatch in standalone mode as a service/cron
Post by: . on April 21, 2011, 11:18:06 am

Hi Tim,

No, there isn't currently any script doing this. You should write your own script, no particular need to launch it from a cron.
BTW, do you have any particular reason to use fastcgidispatch in standalone mode ?

Best regards,
Guney


Title: Re: Launching fastcgidispatch in standalone mode as a service/cron
Post by: Tim S. on April 22, 2011, 03:47:21 pm
Hi Guney,
BTW, do you have any particular reason to use fastcgidispatch in standalone mode ?
As we understand it, standalone mode is required when your web server and GAS are on separate machines.
https://4js.com/online_documentation/fjs-gas-manual-html/User/FastCGIInstall.html#FASTCGI_USAGE

Thanks,
Tim S