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