Move script, systemd conf, service files into repo
Move the common scripts, systemd configuration and service files
from openbmc/openbmc to the local one.
Tested: The moved files are installed in their respective locations
and code update on Witherspoon is successful.
Change-Id: I2dc435db49dfbaf6e0a97cb58a9678c3462d1528
Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
diff --git a/xyz.openbmc_project.Software.BMC.Updater.service b/xyz.openbmc_project.Software.BMC.Updater.service
new file mode 100644
index 0000000..9fd6466
--- /dev/null
+++ b/xyz.openbmc_project.Software.BMC.Updater.service
@@ -0,0 +1,15 @@
+[Unit]
+Description=OpenBMC Software Update Manager
+Wants=xyz.openbmc_project.Software.Version.service
+Before=xyz.openbmc_project.Software.Version.service
+Wants=obmc-mapper.target
+After=obmc-mapper.target
+
+[Service]
+ExecStart=/usr/bin/phosphor-image-updater
+Restart=always
+Type=dbus
+BusName={BUSNAME}
+
+[Install]
+WantedBy=multi-user.target