blob: cfc1eed968f1169553f74020b3904c5ff09e69b7 [file] [log] [blame]
[Unit]
Description=Create file to indicate chassis%i pgood is on
After=obmc-power-reset-on@%i.target
Requires=obmc-power-reset-on@%i.target
After=op-reset-pgood-check@%i.service
Requires=op-reset-pgood-check@%i.service
Conflicts=obmc-chassis-poweroff@%i.target
[Service]
RemainAfterExit=no
Type=oneshot
ExecStart=/bin/sh -c "mkdir -p /run/openbmc/ && touch /run/openbmc/chassis@%i-on"
[Install]
WantedBy=obmc-chassis-powerreset@%i.target