commit | 04605fa2ad256f0bdedcfc1f9bcd1f24fdc4cd93 | [log] [tgz] |
---|---|---|
author | Patrick Williams <patrick@stwcx.xyz> | Wed May 28 16:54:49 2025 -0400 |
committer | Patrick Williams <patrick@stwcx.xyz> | Thu May 29 11:00:11 2025 +0000 |
tree | 7c6ed04416fcff3bd4477a74482028f0ea0db6df | |
parent | 4b98de56a69895d0c26e9abd6e236a73a236263a [diff] [blame] |
move 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: Ibb102f387c27593c81f41aa0adc3b994ca9185e2 Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
diff --git a/phosphor-virtual-sensor.service.in b/phosphor-virtual-sensor.service.in index ad4007c..f6c7fc2 100644 --- a/phosphor-virtual-sensor.service.in +++ b/phosphor-virtual-sensor.service.in
@@ -3,7 +3,7 @@ [Service] Restart=always -ExecStart=@bindir@/virtual-sensor +ExecStart=@libexecdir@/phosphor-virtual-sensor/virtual-sensor Type=dbus BusName=xyz.openbmc_project.VirtualSensor SyslogIdentifier=phosphor-virtual-sensor