add ss-manager read manager_address from config.json

This commit is contained in:
root
2020-05-02 10:57:36 +08:00
parent bc77b6189c
commit 02f25e588c
3 changed files with 6 additions and 0 deletions
+3
View File
@@ -1054,6 +1054,9 @@ main(int argc, char **argv)
if (acl == NULL) {
acl = conf->acl;
}
if (manager_address == NULL) {
manager_address = conf->manager_address;
}
#ifdef HAVE_SETRLIMIT
if (nofile == 0) {
nofile = conf->nofile;