mirror of
https://github.com/Telecominfraproject/wlan-cloud-ucentralsec.git
synced 2025-11-04 12:47:46 +00:00
Fixing daemon reload.
This commit is contained in:
@@ -85,7 +85,10 @@ namespace OpenWifi {
|
||||
std::thread ReloadThread([Names](){
|
||||
std::this_thread::sleep_for(10000ms);
|
||||
for(const auto &i:Names) {
|
||||
Daemon()->Reload(i);
|
||||
if(i=="daemon")
|
||||
Daemon()->Reload();
|
||||
else
|
||||
Daemon()->Reload(i);
|
||||
}
|
||||
});
|
||||
ReloadThread.detach();
|
||||
|
||||
Reference in New Issue
Block a user