1[Unit] 2Description=Reboot If Enabled 3Wants=mapper-wait@-xyz-openbmc_project-control-host0-power_restore_policy.service 4After=mapper-wait@-xyz-openbmc_project-control-host0-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 9After=op-reset-chassis-on@%i.service 10ConditionPathExists=!/run/openbmc/chassis@%i-on 11 12[Service] 13Restart=no 14Type=oneshot 15RemainAfterExit=yes 16ExecStart=/usr/bin/phosphor-discover-system-state --host %i 17 18[Install] 19WantedBy=multi-user.target 20