RD-380 Added better handling for restart of httpd when installing new packages.