在Windows上启动瘦服务器的多个实例与一个批处理脚本 [英] Starting multiple instances of Thin Server on Windows with a batch script
问题描述
我在写一个脚本来自动部署在Windows Rails应用程序的红宝石。我把一切都自动除薄群集启动。事实证明,daemonizing不支持在Windows因此调用薄时,我无法使用 - 服务器命令。
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.
一个previous问题我贴:启动Windows上的薄集群一>
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?
感谢您的时间!
推荐答案
启动
是你的朋友。
阅读帮助启动
,并尝试这种
start /b thin start
和再读帮助启动
和其他选项播放
这篇关于在Windows上启动瘦服务器的多个实例与一个批处理脚本的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!