浏览代码

add restart script

stanley-king 3 年之前
父节点
当前提交
607f6c9e4d
共有 1 个文件被更改,包括 2 次插入0 次删除
  1. 2 0
      docker/compose/xyz-worker/restart.sh

+ 2 - 0
docker/compose/xyz-worker/restart.sh

@@ -0,0 +1,2 @@
+docker-compose stop -t 1200 cordsrv
+docker-compose up -d