blob: 4d58d61a0e78dcf180c7146648ca917e83f80622 [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-power-chassis-off@%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-reset@%i.target