Brad Bishop | 7e164be | 2016-08-08 08:53:13 -0400 | [diff] [blame] | 1 | [Unit] |
| 2 | Description=Inventory Upload |
| 3 | Wants=obmc-host-start-pre@%i.target |
| 4 | Before=obmc-host-start-pre@%i.target |
Josh D. King | efb04a1 | 2017-04-06 15:56:37 -0500 | [diff] [blame] | 5 | Conflicts=obmc-host-stop@%i.target |
Brad Bishop | 7e164be | 2016-08-08 08:53:13 -0400 | [diff] [blame] | 6 | |
| 7 | [Service] |
| 8 | Restart=no |
| 9 | Type=oneshot |
| 10 | RemainAfterExit=yes |
Michael Tritz | 0ad3b1d | 2017-08-15 14:07:23 -0500 | [diff] [blame] | 11 | ExecStart=/usr/bin/env inventory_upload.py |
| 12 | SyslogIdentifier=inventory_upload.py |
Brad Bishop | 7e164be | 2016-08-08 08:53:13 -0400 | [diff] [blame] | 13 | Environment="PYTHONUNBUFFERED=1" |
| 14 | |
| 15 | [Install] |
Josh D. King | efb04a1 | 2017-04-06 15:56:37 -0500 | [diff] [blame] | 16 | WantedBy=obmc-host-start@%i.target |