commit | b75a54f759f2dbf95ab0df7a6f8e382448851439 | [log] [tgz] |
---|---|---|
author | Patrick Williams <patrick@stwcx.xyz> | Tue May 27 17:24:53 2025 -0400 |
committer | Andrew Jeffery <andrew@codeconstruct.com.au> | Thu Jun 12 23:04:45 2025 +0000 |
tree | c27aa1b8ddbaa6fd01ccfe02a231057f241ec914 | |
parent | ca8c7e98687da407fbab5dcd20cfe892928928ae [diff] [blame] |
move all sensor daemons to libexec Per the organization anti-pattern, executables are expected to be installed into libexec instead of bin[1]. Update service files and meson to install there. [1]: https://github.com/openbmc/docs/blob/master/anti-patterns.md#incorrect-placement-of-executables-in-sbin-usrsbin-or-bin-usrbin Change-Id: I1eb4003e94b83b09829d63346c2e16a3ff02a3e9 Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
diff --git a/service_files/xyz.openbmc_project.intrusionsensor.service b/service_files/xyz.openbmc_project.intrusionsensor.service index 3f815ba..1b0fc0c 100644 --- a/service_files/xyz.openbmc_project.intrusionsensor.service +++ b/service_files/xyz.openbmc_project.intrusionsensor.service
@@ -7,7 +7,7 @@ [Service] Restart=always RestartSec=5 -ExecStart=/usr/bin/intrusionsensor +ExecStart=/usr/libexec/dbus-sensors/intrusionsensor [Install] WantedBy=multi-user.target