summaryrefslogtreecommitdiffstats
path: root/meta/recipes-graphics/wayland/weston-init/weston@.service
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-graphics/wayland/weston-init/weston@.service')
-rw-r--r--meta/recipes-graphics/wayland/weston-init/weston@.service34
1 files changed, 6 insertions, 28 deletions
diff --git a/meta/recipes-graphics/wayland/weston-init/weston@.service b/meta/recipes-graphics/wayland/weston-init/weston@.service
index 9ecf2ab069..39e193014a 100644
--- a/meta/recipes-graphics/wayland/weston-init/weston@.service
+++ b/meta/recipes-graphics/wayland/weston-init/weston@.service
@@ -1,37 +1,15 @@
1[Unit] 1[Unit]
2Description=Weston Wayland Compositor (on tty7) 2Description=Weston Wayland Compositor
3RequiresMountsFor=/run 3RequiresMountsFor=/run
4Conflicts=getty@tty7.service plymouth-quit.service 4Conflicts=plymouth-quit.service
5After=systemd-user-sessions.service getty@tty7.service plymouth-quit-wait.service 5After=systemd-user-sessions.service plymouth-quit-wait.service
6 6
7[Service] 7[Service]
8User=%i 8User=%i
9PermissionsStartOnly=true
10
11# Log us in via PAM so we get our XDG & co. environment and
12# are treated as logged in so we can use the tty:
13PAMName=login 9PAMName=login
14
15# Grab tty7
16UtmpIdentifier=tty7
17TTYPath=/dev/tty7
18TTYReset=yes
19TTYVHangup=yes
20TTYVTDisallocate=yes
21
22# stderr to journal so our logging doesn't get thrown into /dev/null
23StandardOutput=tty
24StandardInput=tty
25StandardError=journal
26
27EnvironmentFile=-/etc/default/weston 10EnvironmentFile=-/etc/default/weston
28 11StandardError=journal
29# Weston does not successfully change VT, nor does systemd place us on 12PermissionsStartOnly=true
30# the VT it just activated for us. Switch manually:
31ExecStartPre=/usr/bin/chvt 7
32ExecStart=/usr/bin/weston --log=${XDG_RUNTIME_DIR}/weston.log $OPTARGS
33
34IgnoreSIGPIPE=no 13IgnoreSIGPIPE=no
35 14
36#[Install] 15ExecStart=/usr/bin/weston-start -v -e -- $OPTARGS
37#Alias=multi-user.target.wants/weston.service