commit | 306c5ff23d14c3dfb1dfadc88e8f903e6aa18a9c | [log] [tgz] |
---|---|---|
author | Patrick Williams <patrick@stwcx.xyz> | Thu Apr 04 14:04:07 2024 -0500 |
committer | Patrick Williams <patrick@stwcx.xyz> | Thu Apr 04 14:38:58 2024 -0500 |
tree | bcebb11ae822d903154259aa22331521e4d03220 | |
parent | 8a373d577f20d98745c30a1e2b6a2382f721cd28 [diff] [blame] |
host-reboot: move to PSM subdir Per the project anti-patterns[1], scripts are suppose to be installed in a package-named subdirectory within libexec. Move appropriately and update the service file. [1]: https://github.com/openbmc/docs/blob/master/anti-patterns.md#background-4 Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: Ie62e032707f374da4af20c38bbf358a8c442d690
diff --git a/service_files/phosphor-reboot-host@.service b/service_files/phosphor-reboot-host@.service index a5cf9a1..49738c0 100644 --- a/service_files/phosphor-reboot-host@.service +++ b/service_files/phosphor-reboot-host@.service
@@ -13,7 +13,7 @@ # Since this is a part of the reboot target, call the startmin # target which does the minimum required to start the host if the reboot count # is not 0, otherwise it will quiesce the host. -ExecStart=/usr/libexec/host-reboot %i +ExecStart=/usr/libexec/phosphor-state-manager/host-reboot %i [Install] WantedBy=obmc-host-reboot@%i.target