setup-life-display

Instructions and scripts to setup sdl2-life on a Raspberry Pi
git clone https://www.brianlane.com/git/setup-life-display
Log | Files | Refs | README

tmux@.service (385B)


      1 [Unit]
      2 Description=sdl2life console service
      3 Requires=tmux.service
      4 After=multi-user.target
      5 ConditionKernelCommandLine=!nolife
      6 
      7 [Service]
      8 Type=idle
      9 User=life
     10 WorkingDirectory=/home/life
     11 Environment=LANG=en_US.UTF-8
     12 ExecStart=/usr/bin/tmux -u attach -t life
     13 StandardInput=tty
     14 StandardOutput=tty
     15 TTYPath=/dev/%I
     16 TTYReset=yes
     17 TTYVHangup=yes
     18 TTYVTDisallocate=yes
     19 Restart=always
     20 RestartSec=0