尝试将“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 守护程序。
但是当我用“NET START IPFS”启动服务时,它说
The service is not responding to the control function.
More help is available by typing NET HELPMSG 2186.