Push service file into repo
Per systemd daemon guidelines, store the service file in the repository
and install it via the bitbake recipe.
Change-Id: I7da6f7a4d69513bb3358bb23a5ca63db789a9bab
Signed-off-by: Patrick Venture <venture@google.com>
diff --git a/Makefile.am b/Makefile.am
index 4bfdd86..da8500a 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -1,5 +1,10 @@
AM_DEFAULT_SOURCE_EXT = .cpp
+if HAVE_SYSTEMD
+systemdsystemunit_DATA = \
+ lpcsnoop.service
+endif
+
sbin_PROGRAMS = snoopd snooper
snoopd_SOURCES = main.cpp