Put bmcweb in common layer for others to use
Initially interested in bmcweb for its redfish support
Change-Id: Ia180a895c8db2b184a455cd3be2bf28db4c4116d
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
diff --git a/common/recipes-phosphor/interfaces/bmcweb/bmcweb.service b/common/recipes-phosphor/interfaces/bmcweb/bmcweb.service
new file mode 100644
index 0000000..86a7279
--- /dev/null
+++ b/common/recipes-phosphor/interfaces/bmcweb/bmcweb.service
@@ -0,0 +1,13 @@
+[Unit]
+Description=Start bmcweb server
+
+Wants=network.target
+After=network.target
+
+[Service]
+ExecStart={bindir}/bmcweb
+Type=simple
+WorkingDirectory=/home/root
+
+[Install]
+WantedBy=network.target
diff --git a/common/recipes-phosphor/interfaces/bmcweb/bmcweb.socket b/common/recipes-phosphor/interfaces/bmcweb/bmcweb.socket
new file mode 100644
index 0000000..b1db27d
--- /dev/null
+++ b/common/recipes-phosphor/interfaces/bmcweb/bmcweb.socket
@@ -0,0 +1,9 @@
+[Unit]
+Description=BMC Webserver socket
+
+[Socket]
+ListenStream=883
+ReusePort=true
+
+[Install]
+WantedBy=sockets.target