Created
April 3, 2020 12:29
-
-
Save frojnd/aded01ea8b959bffd19873b9d1bfed4d to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ cat /etc/systemd/system/tty-observer.service | |
[Unit] | |
Description="Script looks for ttys and starts picocom for each tty" | |
[Service] | |
Type=forking | |
ExecStart=screen -S picocom -d -m /usr/bin/start_picocom.sh | |
[Install] | |
WantedBy=multi-user.target | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment