From 6bbddc16d8497adcd633c30f7aeee0adb5433eb0 Mon Sep 17 00:00:00 2001 From: liuxiaolong <736321739@qq.com> Date: 星期二, 17 十二月 2019 10:29:52 +0800 Subject: [PATCH] exec updatePatch.sh use setsid --- extend/config/config.go | 5 +---- 1 files changed, 1 insertions(+), 4 deletions(-) diff --git a/extend/config/config.go b/extend/config/config.go index 61e5126..41cb8bb 100644 --- a/extend/config/config.go +++ b/extend/config/config.go @@ -29,6 +29,7 @@ SudoPassword string `mapstructure: "sudoPassword"` //绯荤粺瀵嗙爜 SysThresholds []threshold `mapstructure: "sysThresholds"` PTZSpeed int `mapstructure: "ptzSpeed"` // 浜戝彴绉诲姩閫熷害 + PatchPath string `mapstructure:"patchPath"`//绯荤粺鏇存柊鍖呰矾寰� } var Server = &server{} @@ -40,10 +41,6 @@ } type esindexlist struct { - VideoPersons index `mapstructure:"videopersons"` - DbTables index `mapstructure:"dbtables"` - Dbtablepersons index `mapstructure:"dbtablepersons"` - Personaction index `mapstructure:"personaction"` AiOcean index `mapstructure:"aiOcean"` } type index struct { -- Gitblit v1.8.0