fix nginx reload flags '-c'
This commit is contained in:
parent
8ca5fbeece
commit
9f32b74fea
1 changed files with 1 additions and 1 deletions
|
@ -249,7 +249,7 @@ func (n NGINXController) Reload(data []byte) ([]byte, bool, error) {
|
|||
return nil, false, err
|
||||
}
|
||||
|
||||
o, e := exec.Command(n.binary, "-s", "reload").CombinedOutput()
|
||||
o, e := exec.Command(n.binary, "-s", "reload", "-c", cfgPath).CombinedOutput()
|
||||
|
||||
return o, true, e
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue