Fix bmcweb socket activation

It looks like the socket activation part of the recipe got missed in
the review.  bmcweb can boot without it, but it's still desired to
allow people to change what port bmcweb boots on per platform.

Tested By: Launching image and verifying bmcweb boots on port 883, and
all services are available.

Change-Id: Idba19082d80ea4007c6a450219481756bd03938b
Signed-off-by: Ed Tanous <ed.tanous@intel.com>
diff --git a/meta-openbmc-machines/meta-x86/meta-intel/meta-common/recipes-intel/bmcweb/bmcweb.bb b/meta-openbmc-machines/meta-x86/meta-intel/meta-common/recipes-intel/bmcweb/bmcweb.bb
index f744536..c2c3b8b 100644
--- a/meta-openbmc-machines/meta-x86/meta-intel/meta-common/recipes-intel/bmcweb/bmcweb.bb
+++ b/meta-openbmc-machines/meta-x86/meta-intel/meta-common/recipes-intel/bmcweb/bmcweb.bb
@@ -24,7 +24,7 @@
 
 EXTRA_OECMAKE = "-DBMCWEB_BUILD_UT=OFF -DYOCTO_DEPENDENCIES=ON"
 
-SYSTEMD_SERVICE_${PN} += "bmcweb.service"
+SYSTEMD_SERVICE_${PN} += "bmcweb.service bmcweb.socket"
 
 FULL_OPTIMIZATION = "-Os -pipe "
 
diff --git a/meta-openbmc-machines/meta-x86/meta-intel/meta-common/recipes-intel/bmcweb/bmcweb/bmcweb.socket b/meta-openbmc-machines/meta-x86/meta-intel/meta-common/recipes-intel/bmcweb/bmcweb/bmcweb.socket
new file mode 100644
index 0000000..b1db27d
--- /dev/null
+++ b/meta-openbmc-machines/meta-x86/meta-intel/meta-common/recipes-intel/bmcweb/bmcweb/bmcweb.socket
@@ -0,0 +1,9 @@
+[Unit]
+Description=BMC Webserver socket
+
+[Socket]
+ListenStream=883
+ReusePort=true
+
+[Install]
+WantedBy=sockets.target