sysd_monitor: Add systemd unit and required json
Previous service files for this repo are contained in the corresponding
meta layer. There's a push in OpenBMC though to move these services
files into the repository that owns them. Putting this service in this
repository is the first step in that direction.
Tested:
- Booted Romulus QEMU with required meta changes and verified
application started and logged chassis poweron error.
Change-Id: Iaa0cddff20246b74950e826bdbf34de4cabad8bf
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
diff --git a/phosphor-systemd-target-monitor.service.in b/phosphor-systemd-target-monitor.service.in
new file mode 100644
index 0000000..ffd980f
--- /dev/null
+++ b/phosphor-systemd-target-monitor.service.in
@@ -0,0 +1,10 @@
+[Unit]
+Description=phosphor systemd target monitor
+After=dbus.service
+
+[Service]
+Restart=always
+ExecStart=/usr/bin/phosphor-systemd-target-monitor -f /etc/phosphor-systemd-target-monitor/phosphor-target-monitor-default.json
+
+[Install]
+WantedBy=multi-user.target