Add the IBM log manager recipe and service
Installs the ibm-log-manager application and the
com.ibm.Logging.service. The lifetime of this service
matches that of the phosphor-logging service.
After building the code, the recipe also condenses the
policyTable.json file into a version to go onto the flash.
The policyTable.json in this layer is empty, and the system
specific ones should be installed from their own layers by
bbappending this recipe from there.
Change-Id: I5310da06e9beb69c7d53a16d0beb44232a937716
Signed-off-by: Matt Spinler <spinler@us.ibm.com>
diff --git a/recipes-phosphor/logging/ibm-logging/com.ibm.Logging.service b/recipes-phosphor/logging/ibm-logging/com.ibm.Logging.service
new file mode 100644
index 0000000..57ebc99
--- /dev/null
+++ b/recipes-phosphor/logging/ibm-logging/com.ibm.Logging.service
@@ -0,0 +1,14 @@
+[Unit]
+Description=IBM Log Manager
+After=xyz.openbmc_project.Logging.service
+BindsTo=xyz.openbmc_project.Logging.service
+
+[Service]
+ExecStart=/usr/bin/env ibm-log-manager
+SyslogIdentifier=ibm-log-manager
+Restart=always
+Type=dbus
+BusName={BUSNAME}
+
+[Install]
+WantedBy=xyz.openbmc_project.Logging.service