1[Unit] 2Description=Reboot If Enabled 3Wants=mapper-wait@-xyz-openbmc_project-control-host%i-power_restore_policy.service 4After=mapper-wait@-xyz-openbmc_project-control-host%i-power_restore_policy.service 5Wants=mapper-wait@-xyz-openbmc_project-state-host%i.service 6After=mapper-wait@-xyz-openbmc_project-state-host%i.service 7Wants=mapper-wait@-xyz-openbmc_project-state-chassis%i.service 8After=mapper-wait@-xyz-openbmc_project-state-chassis%i.service 9Wants=mapper-wait@-xyz-openbmc_project-state-bmc0.service 10After=mapper-wait@-xyz-openbmc_project-state-bmc0.service 11After=phosphor-reset-chassis-on@%i.service 12Wants=xyz.openbmc_project.Settings.service 13After=xyz.openbmc_project.Settings.service 14ConditionPathExists=!/run/openbmc/chassis@%i-on 15 16[Service] 17Restart=no 18Type=oneshot 19RemainAfterExit=yes 20ExecStart=/usr/bin/phosphor-discover-system-state --host %i 21 22[Install] 23WantedBy=multi-user.target 24