如何把resin安裝為Windows服務

2021-09-22 09:43:53 字數 413 閱讀 6450

ps:window 註冊服務的普通方式(在svn在windows下安裝一文中曾提到,可以靈活運用):

sc create svnserve binpath= ""c:program filessubversionbinsvnserve.exe"    --service --root c:repos" displayname= "subversion" depend= tcpip start= auto

在建立服務以後,你還可以增加描述。它在 windows 服務管理器中顯示。

sc description svnserve "subversion server (svnserve)"

注意 sc 的命令列很特殊。在 key= value 對中,key 與 = 之間不能有空格,但是在 value 之前,必須有空格

把RedisWatcher安裝為windows服務

exepath c redis bin exename redis server.exe 可選的快速失敗時間,單位毫秒,基本上不需要配置 fastfailms 1000 重試次數,預設是永遠重試,也就是0 fastfailretries 0 支援n個例項,注意,redisredis只能監聽由redi...

nginx安裝為Windows服務

建立nginx service.exe.config 為支援net 4.0 runtime,預設只支援net 2.0 runtime 檔案結構如下 nginx service.xml 內容如下 nginx nginx service high performance nginx service d ...

將mongodb安裝為windows服務

解壓到自己喜歡的乙個目錄 d nosql mongodb 配置mongodb home環境變數 mongodb home d nosql mongodb mongodb win32 i386 2.0.6 修改path變數值 在最後加上 mongodb home bin 編寫安裝批處理語句 語句中不存...