Skip to content
Permalink
55e5388527
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
 
 
Cannot retrieve contributors at this time
13 lines (11 sloc) 254 Bytes
[Unit]
Description=TTY logger
[Service]
ExecStartPre=/usr/bin/stty -F /dev/%I 115200 -echo
ExecStart=-/usr/bin/sh -c "/usr/bin/cat /dev/%I >> /var/log/%I.log 2>&1"
Type=idle
Restart=always
RestartSec=0
UtmpIdentifier=%I
[Install]
WantedBy=basic.target