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.service15
1 files changed, 15 insertions, 0 deletions
diff --git a/meta/recipes-graphics/wayland/weston-init/weston.service b/meta/recipes-graphics/wayland/weston-init/weston.service
new file mode 100644
index 0000000000..4f1f7ff102
--- /dev/null
+++ b/meta/recipes-graphics/wayland/weston-init/weston.service
@@ -0,0 +1,15 @@
1[Unit]
2Description=Weston Wayland compositor startup
3RequiresMountsFor=/run
4
5[Service]
6User=root
7EnvironmentFile=-/etc/default/weston
8Environment="XDG_RUNTIME_DIR=/run/user/root"
9ExecStartPre=/bin/mkdir -p /run/user/root
10ExecStartPre=/bin/chmod 0700 /run/user/root
11ExecStart=/usr/bin/openvt -v -e /usr/bin/weston -- $OPTARGS
12
13[Install]
14WantedBy=multi-user.target
15