George Hung | 30cafdc | 2020-06-30 15:48:16 +0800 | [diff] [blame] | 1 | [Unit] |
| 2 | Description=NVMe management |
| 3 | Wants=xyz.openbmc_project.LED.GroupManager.service xyz.openbmc_project.Inventory.Manager.service |
| 4 | After=xyz.openbmc_project.LED.GroupManager.service xyz.openbmc_project.Inventory.Manager.service |
| 5 | Wants=mapper-wait@-xyz-openbmc_project-control-nvme.service |
| 6 | After=mapper-wait@-xyz-openbmc_project-control-nvme.service |
| 7 | |
| 8 | [Service] |
| 9 | ExecStartPre=/usr/bin/nvme_json_rewrite.sh |
| 10 | ExecStart=/usr/bin/nvme_main |
| 11 | Type=dbus |
| 12 | BusName=xyz.openbmc_project.nvme.manager |
| 13 | SyslogIdentifier=phosphor-nvme |
| 14 | Restart=always |
| 15 | RestartSec=3 |
| 16 | StartLimitInterval=0 |
| 17 | |
| 18 | [Install] |
| 19 | WantedBy=multi-user.target |