Vishwanatha Subbanna | 1a8345b | 2020-10-23 02:10:20 -0500 | [diff] [blame] | 1 | [Unit] |
| 2 | Description=Set the Asserted property of all the LED groups to %i |
| 3 | Wants=xyz.openbmc_project.LED.GroupManager |
| 4 | After=xyz.openbmc_project.LED.GroupManager |
| 5 | After=op-reset-chassis-running@0.service |
| 6 | ConditionPathExists=!/run/openbmc/chassis@0-on |
| 7 | |
| 8 | [Service] |
| 9 | Type=oneshot |
| 10 | Restart=no |
| 11 | EnvironmentFile={envfiledir}/obmc/led/set-all/groups/config |
| 12 | ExecStart=/bin/bash -c "led-set-all-groups-asserted.sh %i ${{EXCLUDED_GROUPS}}" |
| 13 | SyslogIdentifier=obmc-led-set-all-groups-asserted |