blob: 681abb4b3d7859ab4aba7d09518de819541305d0 [file] [log] [blame]
[Unit]
Description=Restore Last State
Wants=obmc-mgr-state.target
After=obmc-mgr-state.target
Wants=mapper-wait@-org-openbmc-settings-host0.service
After=mapper-wait@-org-openbmc-settings-host0.service
[Service]
Restart=no
Type=oneshot
ExecStart={sbindir}/discover_system_state.py
Environment="PYTHONUNBUFFERED=1"
[Install]
WantedBy={SYSTEMD_DEFAULT_TARGET}