49 lines
1.2 KiB
Desktop File
49 lines
1.2 KiB
Desktop File
[Unit]
|
|
# Make sure we are started after logins are permitted.
|
|
Description=Weston Wayland compositor startup
|
|
Requires=systemd-user-sessions.service
|
|
After=systemd-user-sessions.service
|
|
After=plymouth-quit-wait.service
|
|
Wants=dbus.socket
|
|
After=dbus.socket
|
|
Requires=weston.socket
|
|
RequiresMountsFor=/run
|
|
After=getty@tty7.service
|
|
Conflicts=getty@tty7.service plymouth-quit.service
|
|
Before=graphical.target
|
|
ConditionPathExists=/dev/tty0
|
|
|
|
[Service]
|
|
Type=notify
|
|
StandardInput=tty
|
|
UtmpIdentifier=tty7
|
|
User=root
|
|
#Group=odroid
|
|
EnvironmentFile=-/etc/default/weston
|
|
Environment="XDG_RUNTIME_DIR=/run/user/0"
|
|
Environment="DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/0/bus"
|
|
#Environment=XDG_SEAT=seat-weston
|
|
Environment=XDG_SESSION_CLASS=user
|
|
#Environment=XDG_SESSION_TYPE=wayland
|
|
#Environment=XDG_SESSION_DESKTOP=weston
|
|
#Environment=HOME=/home/odroid
|
|
#Environment=SEATD_VTBOUND=0
|
|
|
|
PAMName=login
|
|
|
|
TTYPath=/dev/tty7
|
|
TTYReset=yes
|
|
TTYVHangup=yes
|
|
TTYVTDisallocate=yes
|
|
|
|
StandardInput=tty-fail
|
|
StandardOutput=journal
|
|
StandardError=journal
|
|
|
|
UtmpIdentifier=tty7
|
|
UtmpMode=user
|
|
|
|
ExecStart=/usr/bin/weston --log=/home/odroid/weston.log --seat=seat-weston --drm-device=card1 --socket=weston-0 --tty=7 --modules=systemd-notify.so
|
|
|
|
[Install]
|
|
WantedBy=graphical.target |