Reload systemd-networkd on NTPServer changes

systemd-timesyncd will not pick the updated NTP server list in network
config until systemd-networkd is reloaded.

So if NTPServers are updated in network config, reload networkd, and
timesyncd will automatically pick the updated NTP servers.

Resolves openbmc/openbmc#2859

Change-Id: I7c01a58d9d1652eee236c8818a41d66eda5b266e
Signed-off-by: Lei YU <mine260309@gmail.com>
diff --git a/ethernet_interface.cpp b/ethernet_interface.cpp
index 0721eed..1e873c2 100644
--- a/ethernet_interface.cpp
+++ b/ethernet_interface.cpp
@@ -506,7 +506,7 @@
     writeConfigurationFile();
     // timesynchd reads the NTP server configuration from the
     // network file.
-    restartSystemdUnit(timeSynchdService);
+    restartSystemdUnit(networkdService);
     return ntpServers;
 }
 // Need to merge the below function with the code which writes the
@@ -719,7 +719,7 @@
     // ip for the changed mac address.
     if (dHCPEnabled())
     {
-        restartSystemdUnit("systemd-networkd.service");
+        restartSystemdUnit(networkdService);
     }
     return mac;