fix: set timeout for run dpkg command

This commit is contained in:
2024-01-11 17:53:21 +08:00
parent 5aeca6ecb4
commit 23b87162dd
3 changed files with 4 additions and 1 deletions

View File

@@ -81,6 +81,7 @@ type YamlConfig struct {
TestMode bool `yaml:"testMode"`
RBACMode bool `yaml:"rbacMode"`
RunDir string `yaml:"runDir"`
CmdTimeout int `yaml:"cmdTimeout"`
} `yaml:"omc"`
Alarm struct {

View File

@@ -113,6 +113,7 @@ omc:
testMode: false
rbacMode: true
runDir:
cmdTimeout: 120
# Alarm module setting
# Forward interface: