settings: recipe/service update
Use new systemd class features.
Add allarch.
Change-Id: I4836deac6e7f3d07bb8f5291b78c931b0f1f78c0
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
diff --git a/common/recipes-phosphor/settings/phosphor-settings/org.openbmc.settings.Host.service b/common/recipes-phosphor/settings/phosphor-settings/org.openbmc.settings.Host.service
new file mode 100644
index 0000000..386e906
--- /dev/null
+++ b/common/recipes-phosphor/settings/phosphor-settings/org.openbmc.settings.Host.service
@@ -0,0 +1,13 @@
+[Unit]
+Description=Phosphor Settings Manager
+Before=mapper-wait@-org-openbmc-settings-host0.service
+
+[Service]
+ExecStart={sbindir}/settings_manager.py
+Environment="PYTHONUNBUFFERED=1"
+Restart=always
+Type=dbus
+BusName={BUSNAME}
+
+[Install]
+WantedBy={SYSTEMD_DEFAULT_TARGET}