diff --git a/app/plugins/system_controllers/network/index.js b/app/plugins/system_controllers/network/index.js index 417dfde42..01c24ed16 100644 --- a/app/plugins/system_controllers/network/index.js +++ b/app/plugins/system_controllers/network/index.js @@ -333,7 +333,7 @@ ControllerNetwork.prototype.rebuildNetworkConfig = function() ws.end(); console.log("Restarting networking layer"); - exec('service networking restart', + exec('systemctl restart networking.service', function (error, stdout, stderr) { if (error !== null) {