blob: 2345ecfdad8affc399f7d9c0a0f0c9cc4c68f458 (
plain)
1
2
3
4
5
6
7
8
9
10
|
[Unit]
Description=power on chassis:%i
[Service]
Type=oneshot
ExecStart=/usr/libexec/phosphor-state-manager/chassis-poweron %i
ExecStartPost=/bin/bash -c "/usr/libexec/phosphor-state-manager/wait-until-mctp-connection-done %i && systemctl restart phosphor-discover-system-state@%i.service"
[Install]
WantedBy=obmc-chassis-poweron@%i.target
|