[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} |