Guest User

Untitled

a guest
Jul 20th, 2018
69
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.77 KB | None | 0 0
  1. [Unit]
  2. Description=Testcase for tty7 hang issue
  3. After=systemd-user-sessions.service
  4. After=plymouth-quit-wait.service
  5. Wants=dbus.socket
  6. After=dbus.socket
  7. After=session-c1.scope
  8. Before=graphical.target
  9.  
  10. # Prevent starting on systems without virtual consoles
  11. ConditionPathExists=/dev/tty0
  12.  
  13. [Service]
  14. ExecStart=/usr/lib/wlroots/rootston -E /usr/bin/weston-terminal
  15. TimeoutStartSec=60
  16. User=foo
  17. PAMName=login
  18. WorkingDirectory=/home/foo
  19.  
  20. # A virtual terminal is needed.
  21. TTYPath=/dev/tty7
  22. TTYReset=yes
  23. TTYVHangup=yes
  24. TTYVTDisallocate=yes
  25.  
  26. # Fail to start if not controlling the tty.
  27. StandardInput=tty-fail
  28. StandardOutput=journal
  29. StandardError=journal
  30.  
  31. # Log this user with utmp, letting it show up with commands 'w' and 'who'.
  32. UtmpIdentifier=tty7
  33. UtmpMode=user
  34.  
  35. [Install]
  36. WantedBy=graphical.target
Add Comment
Please, Sign In to add comment