blob: ee5ec16f75f01713467404fe6089620e6c3a37f5 [file] [log] [blame]
Vishwanatha Subbanna1a8345b2020-10-23 02:10:20 -05001[Unit]
2Description=Set the Asserted property of all the LED groups to %i
Andrew Jeffery5523a1a2021-09-29 12:39:01 +09303Wants=xyz.openbmc_project.LED.GroupManager.service
4After=xyz.openbmc_project.LED.GroupManager.service
Andrew Geisslered654172023-01-26 13:38:16 -07005After=phosphor-reset-chassis-running@0.service
Vishwanatha Subbanna1a8345b2020-10-23 02:10:20 -05006ConditionPathExists=!/run/openbmc/chassis@0-on
7
8[Service]
9Type=oneshot
10Restart=no
11EnvironmentFile={envfiledir}/obmc/led/set-all/groups/config
12ExecStart=/bin/bash -c "led-set-all-groups-asserted.sh %i ${{EXCLUDED_GROUPS}}"
13SyslogIdentifier=obmc-led-set-all-groups-asserted