Add Systemd unit files for skeleton applications
Preparing to start these with systemd.
Change-Id: I39a99242cee3e9e17e51356521d29bab5ad7d399
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
diff --git a/common/recipes-phosphor/obmc-phosphor-led/obmc-control-led/obmc-led-start@.service b/common/recipes-phosphor/obmc-phosphor-led/obmc-control-led/obmc-led-start@.service
new file mode 100644
index 0000000..a601078
--- /dev/null
+++ b/common/recipes-phosphor/obmc-phosphor-led/obmc-control-led/obmc-led-start@.service
@@ -0,0 +1,10 @@
+[Unit]
+Description=Turn On %i LED
+Wants=mapper-wait@-org-openbmc-control-led-%i.service
+After=mapper-wait@-org-openbmc-control-led-%i.service
+
+[Service]
+Type=oneshot
+RemainAfterExit=yes
+Restart=no
+ExecStart={sbindir}/mapper call /org/openbmc/control/led/%i org.openbmc.Led setOn