[Unit] | |
Description=Bletchley host state and chassis power state initialize for sled%i | |
Wants=xyz.openbmc_project.State.Chassis@%i.service | |
After=xyz.openbmc_project.State.Chassis@%i.service | |
Wants=xyz.openbmc_project.State.Host@%i.service | |
After=xyz.openbmc_project.State.Host@%i.service | |
[Service] | |
ExecStart=/usr/libexec/bletchley-system-state-init %i | |
SyslogIdentifier=bletchley-system-state-init sled%i | |
Type=oneshot | |
RemainAfterExit=yes | |
Restart=on-failure | |
RestartSec=1 | |
[Install] | |
WantedBy=multi-user.target |