summaryrefslogtreecommitdiffstats
path: root/systemd
diff options
context:
space:
mode:
Diffstat (limited to 'systemd')
-rw-r--r--systemd/agl-vss-proxy.service11
-rw-r--r--systemd/meson.build5
2 files changed, 16 insertions, 0 deletions
diff --git a/systemd/agl-vss-proxy.service b/systemd/agl-vss-proxy.service
new file mode 100644
index 0000000..1839543
--- /dev/null
+++ b/systemd/agl-vss-proxy.service
@@ -0,0 +1,11 @@
+[Unit]
+Requires=kuksa-databroker.service
+After=kuksa-databroker.service
+
+[Service]
+Type=simple
+ExecStart=/usr/sbin/agl-vss-proxy
+Restart=on-failure
+
+[Install]
+WantedBy=default.target
diff --git a/systemd/meson.build b/systemd/meson.build
new file mode 100644
index 0000000..e299741
--- /dev/null
+++ b/systemd/meson.build
@@ -0,0 +1,5 @@
+systemd_dep = dependency('systemd')
+
+systemd_system_unit_dir = systemd_dep.get_pkgconfig_variable('systemdsystemunitdir')
+
+install_data('agl-vss-proxy.service', install_dir : systemd_system_unit_dir)