blob: da852ff3fdea32b6805e32ed00eee7a9c7daee1d [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]
16WantedBy=obmc-chassis-reset@%i.target