added condition if platform is darwin to support run with confd on mac (#1808)
added condition if platform is darwin to support run with confd on mac (#1808)

* added condition if platform is darwin to support run with confd on mac

* revert indent

AnSyn/ansyn,AnSyn/ansyn,AnSyn/ansyn,AnSyn/ansyn