diff options
Diffstat (limited to 'meta-quanta')
-rw-r--r-- | meta-quanta/meta-gsj/recipes-gsj/quanta-nvme-powerctrl/files/nvme_gpio.service | 9 | ||||
-rw-r--r-- | meta-quanta/meta-gsj/recipes-gsj/quanta-nvme-powerctrl/files/nvme_powermanager.service | 8 |
2 files changed, 10 insertions, 7 deletions
diff --git a/meta-quanta/meta-gsj/recipes-gsj/quanta-nvme-powerctrl/files/nvme_gpio.service b/meta-quanta/meta-gsj/recipes-gsj/quanta-nvme-powerctrl/files/nvme_gpio.service index f7b0e54d55..f104cfa127 100644 --- a/meta-quanta/meta-gsj/recipes-gsj/quanta-nvme-powerctrl/files/nvme_gpio.service +++ b/meta-quanta/meta-gsj/recipes-gsj/quanta-nvme-powerctrl/files/nvme_gpio.service @@ -1,10 +1,13 @@ [Unit] Description = configure GPIO for SSD Power Control -Wants=org.openbmc.records.events.service -After=org.openbmc.records.events.service xyz.openbmc_project.nvme.manager.service +Before=nvme_powermanager.service [Service] +Restart=no +RemainAfterExit=true +Type=oneshot ExecStart=/usr/bin/init_once.sh +StandardOutput=syslog [Install] -WantedBy=multi-user.target
\ No newline at end of file +WantedBy=multi-user.target diff --git a/meta-quanta/meta-gsj/recipes-gsj/quanta-nvme-powerctrl/files/nvme_powermanager.service b/meta-quanta/meta-gsj/recipes-gsj/quanta-nvme-powerctrl/files/nvme_powermanager.service index 8d322222f0..1f8c0567e9 100644 --- a/meta-quanta/meta-gsj/recipes-gsj/quanta-nvme-powerctrl/files/nvme_powermanager.service +++ b/meta-quanta/meta-gsj/recipes-gsj/quanta-nvme-powerctrl/files/nvme_powermanager.service @@ -1,12 +1,12 @@ [Unit] Description=SSD NVME Power Manager -Wants=org.openbmc.records.events.service -After=org.openbmc.records.events.service nvme_gpio.service xyz.openbmc_project.nvme.manager.service +Requires=nvme_gpio.service +After=nvme_gpio.service [Service] ExecStart=/usr/bin/nvme_powermanager.sh Restart=always - +StandardOutput=syslog [Install] -WantedBy=multi-user.target
\ No newline at end of file +WantedBy=multi-user.target |