blob: cfc1eed968f1169553f74020b3904c5ff09e69b7 [file] [log] [blame]
Andrew Geissler997ed662017-03-05 20:36:50 -06001[Unit]
2Description=Create file to indicate chassis%i pgood is on
3After=obmc-power-reset-on@%i.target
4Requires=obmc-power-reset-on@%i.target
5After=op-reset-pgood-check@%i.service
6Requires=op-reset-pgood-check@%i.service
Josh D. Kingb57615e2017-04-06 14:43:46 -05007Conflicts=obmc-chassis-poweroff@%i.target
Andrew Geissler997ed662017-03-05 20:36:50 -06008
9[Service]
10RemainAfterExit=no
11Type=oneshot
12ExecStart=/bin/sh -c "mkdir -p /run/openbmc/ && touch /run/openbmc/chassis@%i-on"
13
14
15[Install]
Andrew Geisslerbc253aa2017-05-09 15:24:41 -050016WantedBy=obmc-chassis-powerreset@%i.target