Starting multiple instances of Thin Server on Wind

2019-09-15 21:05发布

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条回答
Explosion°爆炸
2楼-- · 2019-09-15 21:52

start is your friend

read help start and try this

start /b thin start

and read again help start and play with other options

查看更多
登录 后发表回答