summaryrefslogtreecommitdiffstats
path: root/recipes-core/nss/nss-agl-driver-db/nss-agl-driver-db.service
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-core/nss/nss-agl-driver-db/nss-agl-driver-db.service')
-rw-r--r--recipes-core/nss/nss-agl-driver-db/nss-agl-driver-db.service12
1 files changed, 12 insertions, 0 deletions
diff --git a/recipes-core/nss/nss-agl-driver-db/nss-agl-driver-db.service b/recipes-core/nss/nss-agl-driver-db/nss-agl-driver-db.service
new file mode 100644
index 000000000..48eca3921
--- /dev/null
+++ b/recipes-core/nss/nss-agl-driver-db/nss-agl-driver-db.service
@@ -0,0 +1,12 @@
+[Unit]
+Description=Deploy Kuksa certificates to /home/agl-driver/.pki/
+After=local-fs.target
+Before=agl-session@agl-driver.service
+ConditionPathExists=!/home/agl-driver/.pki
+
+[Service]
+User=agl-driver
+ExecStart=/usr/sbin/nss-agl-driver-db.sh
+
+[Install]
+WantedBy=multi-user.target