Patrick Williams | d8c66bc | 2016-06-20 12:57:21 -0500 | [diff] [blame] | 1 | [Unit] |
2 | Description=Weston Wayland compositor startup | ||||
3 | RequiresMountsFor=/run | ||||
4 | |||||
5 | [Service] | ||||
6 | User=root | ||||
7 | EnvironmentFile=-/etc/default/weston | ||||
8 | Environment="XDG_RUNTIME_DIR=/run/user/root" | ||||
9 | ExecStartPre=/bin/mkdir -p /run/user/root | ||||
10 | ExecStartPre=/bin/chmod 0700 /run/user/root | ||||
11 | ExecStart=/usr/bin/openvt -v -e /usr/bin/weston -- $OPTARGS | ||||
12 | |||||
13 | [Install] | ||||
14 | WantedBy=multi-user.target | ||||
15 |