meta-phosphor: bmcweb: use in-repo systemd unit
Use the systemd service and socket unit files provided by bmcweb.
(From meta-phosphor rev: 8a5dc119cb1136a5a475c4b8a6b63ae1a6a13529)
Change-Id: Idec60b62def5df7238124f87d105765d6065bc63
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
diff --git a/meta-phosphor/recipes-phosphor/interfaces/bmcweb/bmcweb.service b/meta-phosphor/recipes-phosphor/interfaces/bmcweb/bmcweb.service
deleted file mode 100644
index 86a7279..0000000
--- a/meta-phosphor/recipes-phosphor/interfaces/bmcweb/bmcweb.service
+++ /dev/null
@@ -1,13 +0,0 @@
-[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/meta-phosphor/recipes-phosphor/interfaces/bmcweb/bmcweb.socket b/meta-phosphor/recipes-phosphor/interfaces/bmcweb/bmcweb.socket
deleted file mode 100644
index 8782e4d..0000000
--- a/meta-phosphor/recipes-phosphor/interfaces/bmcweb/bmcweb.socket
+++ /dev/null
@@ -1,9 +0,0 @@
-[Unit]
-Description=BMC Webserver socket
-
-[Socket]
-ListenStream=443
-ReusePort=true
-
-[Install]
-WantedBy=sockets.target
diff --git a/meta-phosphor/recipes-phosphor/interfaces/bmcweb_git.bb b/meta-phosphor/recipes-phosphor/interfaces/bmcweb_git.bb
index c37de08..a291c75 100644
--- a/meta-phosphor/recipes-phosphor/interfaces/bmcweb_git.bb
+++ b/meta-phosphor/recipes-phosphor/interfaces/bmcweb_git.bb
@@ -1,4 +1,4 @@
-inherit obmc-phosphor-systemd
+inherit systemd
inherit useradd
USERADD_PACKAGES = "${PN}"