Added setting for customizing webshell start command

This commit is contained in:
0xJacky 2022-07-24 20:43:51 +08:00
parent 70e3f2d372
commit acc1aabaf7
5 changed files with 9 additions and 3 deletions

View file

@ -32,8 +32,10 @@ func ReloadNginx() string {
output := string(out)
log.Println(output)
return output
if strings.Contains(output, "failed") {
return output
}
return ""
}
func GetNginxConfPath(dir string) string {