blob: da852ff3fdea32b6805e32ed00eee7a9c7daee1d [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-reset@%i.target