summarylogtreecommitdiffstats
path: root/pi-launcher@.service
diff options
context:
space:
mode:
Diffstat (limited to 'pi-launcher@.service')
-rw-r--r--pi-launcher@.service17
1 files changed, 17 insertions, 0 deletions
diff --git a/pi-launcher@.service b/pi-launcher@.service
new file mode 100644
index 00000000000..e24890b1cd5
--- /dev/null
+++ b/pi-launcher@.service
@@ -0,0 +1,17 @@
+# Forked off xlogin@.service
+
+[Unit]
+Description=Qt-compositor login for user %i
+After=x@vt7.service systemd-user-sessions.service
+Wants=x@vt7.service
+Conflicts=getty@tty7.service
+
+[Service]
+User=%i
+WorkingDirectory=~
+TTYPath=/dev/tty7
+PAMName=login
+ExecStart=/opt/pi-compositor/pi-compositor
+
+[Install]
+WantedBy=graphical.target