Brad Bishop | 3c90f59 | 2016-08-08 08:53:13 -0400 | [diff] [blame] | 1 | [Unit] |
| 2 | Description=Restore Last State |
| 3 | Wants=obmc-mgr-state.target |
| 4 | After=obmc-mgr-state.target |
Patrick Williams | ec34ae2 | 2016-11-15 12:55:59 -0600 | [diff] [blame] | 5 | Wants=mapper-wait@-org-openbmc-settings-host0.service |
| 6 | After=mapper-wait@-org-openbmc-settings-host0.service |
Brad Bishop | 3c90f59 | 2016-08-08 08:53:13 -0400 | [diff] [blame] | 7 | |
| 8 | [Service] |
| 9 | Restart=no |
| 10 | Type=oneshot |
| 11 | ExecStart={sbindir}/discover_system_state.py |
| 12 | Environment="PYTHONUNBUFFERED=1" |
| 13 | |
| 14 | [Install] |
| 15 | WantedBy={SYSTEMD_DEFAULT_TARGET} |