Ery Lee 10 лет назад
Родитель
Сommit
fa8b892bc9
3 измененных файлов с 5 добавлено и 1 удалено
  1. 1 1
      rel/files/app.config
  2. 3 0
      rel/files/clients.config
  3. 1 0
      rel/reltool.config

+ 1 - 1
rel/files/app.config

@@ -43,7 +43,7 @@
         %% authentication with username, password
         %{username, []},
         %% authentication with clientid
-        %{clientid, [{password, no}]},
+        {clientid, [{password, no}, {file, "etc/clients.config"}]},
         %% allow all
         {anonymous, []}
     ]},

+ 3 - 0
rel/files/clients.config

@@ -0,0 +1,3 @@
+testclientid0
+testclientid1 127.0.0.1
+testclientid2 192.168.0.1/24

+ 1 - 0
rel/reltool.config

@@ -70,5 +70,6 @@
            {copy, "files/ssl/ssl.key", "etc/ssl.key"},
            {template, "files/app.config", "etc/app.config"},
            {template, "files/acl.config", "etc/acl.config"},
+           {template, "files/clients.config", "etc/clients.config"},
            {template, "files/vm.args", "etc/vm.args"}
           ]}.