systemd: Add unit file
Add a unit file for starting obmc-ikvm with systemd.
Change-Id: I85bc8c5d9682b48aedeb3670a61179267798d4f7
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
diff --git a/meson.build b/meson.build
index 3fbefd7..76563a3 100644
--- a/meson.build
+++ b/meson.build
@@ -28,3 +28,12 @@
],
install: true
)
+
+configure_file(
+ input: 'start-ipkvm.service',
+ output: 'start-ipkvm.service',
+ copy: true,
+ install_dir:
+ dependency('systemd').get_pkgconfig_variable(
+ 'systemdsystemunitdir')
+)