【发布时间】:2014-07-03 09:18:41
【问题描述】:
我目前正在使用八达通发布网络服务。有没有办法在使用power shell脚本或任何其他方式自动发布后启动服务。
谢谢
【问题讨论】:
-
哪些服务?如果您在谈论 IIS,只需将
IISReset /force或Restart-Service w3svc(这不是推荐的方式)添加到您的 postdeploy 脚本。
标签: web-services powershell autostart octopus-deploy