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