Starting multiple instances of Thin Server on Windows with a batch script

僤鯓⒐⒋嵵緔 提交于 2019-12-25 03:10:38

问题


I'm writing a script to automatically deploy a ruby on rails application in Windows. I have everything automated except for the thin cluster startup; it turns out that daemonizing is not supported in Windows so I cannot use the -servers command when calling thin.

A previous question I posted: Starting a Thin cluster on Windows

I'm now looking for an alternative approach to getting three instances up programatically. Does anyone know how I might be able to accomplish this?

Thanks for your time!


回答1:


start is your friend

read help start and try this

start /b thin start

and read again help start and play with other options



来源:https://stackoverflow.com/questions/10212097/starting-multiple-instances-of-thin-server-on-windows-with-a-batch-script

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!