blob: e0e1fc93566b315c8fac8df3dcf62f62343eba7d [file] [log] [blame]
Vishwanatha Subbanna8bec8252017-02-11 22:10:23 +05301[Unit]
2Description=Assert %i LED
3Wants=mapper-wait@-xyz-openbmc_project-led-groups-%i.service
4After=mapper-wait@-xyz-openbmc_project-led-groups-%i.service
Vishwanatha Subbannaa7dcd892017-07-19 01:03:13 -05005Conflicts=obmc-led-group-stop@%i.service
Vishwanatha Subbanna8bec8252017-02-11 22:10:23 +05306
7[Service]
8Type=oneshot
9RemainAfterExit=yes
10Restart=no
Brad Bishopec5ea3b2018-06-07 16:17:15 -040011ExecStart=/bin/sh -c "busctl call `mapper get-service /xyz/openbmc_project/led/groups/%i` /xyz/openbmc_project/led/groups/%i org.freedesktop.DBus.Properties Set ssv xyz.openbmc_project.Led.Group Asserted b true"
12SyslogIdentifier=obmc-led-group-start