Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [Unit]
- Description=Testcase for tty7 hang issue
- After=systemd-user-sessions.service
- After=plymouth-quit-wait.service
- Wants=dbus.socket
- After=dbus.socket
- After=session-c1.scope
- Before=graphical.target
- # Prevent starting on systems without virtual consoles
- ConditionPathExists=/dev/tty0
- [Service]
- ExecStart=/usr/lib/wlroots/rootston -E /usr/bin/weston-terminal
- TimeoutStartSec=60
- User=foo
- PAMName=login
- WorkingDirectory=/home/foo
- # A virtual terminal is needed.
- TTYPath=/dev/tty7
- TTYReset=yes
- TTYVHangup=yes
- TTYVTDisallocate=yes
- # Fail to start if not controlling the tty.
- StandardInput=tty-fail
- StandardOutput=journal
- StandardError=journal
- # Log this user with utmp, letting it show up with commands 'w' and 'who'.
- UtmpIdentifier=tty7
- UtmpMode=user
- [Install]
- WantedBy=graphical.target
Add Comment
Please, Sign In to add comment