build: install into bin instead of sbin
Installs into bin instead of sbin per guidelines.
Signed-off-by: Patrick Venture <venture@google.com>
Change-Id: Ifb790c07622113237ceee15eb742daa6b9ec16ca
diff --git a/Makefile.am b/Makefile.am
index 6eeb332..578bf07 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -3,7 +3,7 @@
GENERATED_HPP = xyz/openbmc_project/HostLogger/server.hpp
GENERATED_CPP = xyz/openbmc_project/HostLogger/server.cpp
-sbin_PROGRAMS = hostlogger
+bin_PROGRAMS = hostlogger
nobase_nodist_include_HEADERS = \
$(GENERATED_HPP)
diff --git a/hostlogger.service.in b/hostlogger.service.in
index 1f29416..694d0b2 100644
--- a/hostlogger.service.in
+++ b/hostlogger.service.in
@@ -4,7 +4,7 @@
After=obmc-console@@HOST_TTY@.service
[Service]
-ExecStart=@sbindir@/hostlogger
+ExecStart=@bindir@/hostlogger
Restart=always
Type=dbus
BusName=xyz.openbmc_project.HostLogger