Service IPFS作为窗口服务(win 7)

Service IPFS作为窗口服务(win 7),service,window,ipfs,Service,Window,Ipfs,正在尝试将“IPFS守护程序”添加为窗口服务 以下是我尝试过的: SC指挥部: sc.exe create IPFS binpath= "\"C:\Program Files\go-ipfs\ipfs.exe\" \"daemon\"" DisplayName= "IPFS" start= "auto" 输出: [SC] CreateService SUCCESS service.msc中的“执行路径”反映为: "C:\Program Files\go-ipfs\ipfs.exe" "dae

正在尝试将“IPFS守护程序”添加为窗口服务

以下是我尝试过的:

SC指挥部:

sc.exe create IPFS binpath= "\"C:\Program Files\go-ipfs\ipfs.exe\" \"daemon\"" DisplayName= "IPFS" start= "auto"
输出:

[SC] CreateService SUCCESS
service.msc中的“执行路径”反映为:

"C:\Program Files\go-ipfs\ipfs.exe" "daemon"
如果我键入cmd,则此路径正确并运行IPFS守护程序

但当我用“净启动IPFS”启动服务时,它会说


您正试图将ipfs.exe直接用作windows服务,但ipfs.exe不支持此操作。它只是一个普通的windows可执行文件

我认为您必须使用服务包装工具,例如将ipfs二进制文件包装为windows服务

The service is not responding to the control function.
More help is available by typing NET HELPMSG 2186.