【问题标题】:Want to run Nomad agent as a service想要将 Nomad 代理作为服务运行
【发布时间】:2019-09-01 17:57:29
【问题描述】:

我想在 windows server 2012 R2 中运行 nomad 代理服务。

我使用了sc.exe 命令,看起来像这样:

sc.exe create nomadservice binpath="nomad.exe agent -config=C:/nomad/client.hcl"

虽然它没有启动,但它创建了一个服务。我尝试将超时时间增加到 60 秒,但服务仍然在启动时卡住并且没有获得运行模式。

谁能帮帮我?

【问题讨论】:

    标签: windows-services windows-server-2012-r2 nomad


    【解决方案1】:

    我已通过 http://nssm.cc/ 成功地将 nomad 作为 Windows 服务运行

    看起来开发人员还没有意识到这个功能在 windows 平台上开箱即用。

    【讨论】:

      猜你喜欢
      • 2014-11-08
      • 2021-02-12
      • 1970-01-01
      • 1970-01-01
      • 2020-05-16
      • 2020-07-13
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多