Created
February 8, 2017 03:50
-
-
Save vemacs/bfc3c84a5a36e11abc1804ecf92bb0cc 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
# systemd unit file | |
# place in /etc/systemd/system | |
# systemctl enable gotty.service | |
# systemctl start gotty.service | |
[Unit] | |
Description=Gotty Web Terminal | |
After=network.target | |
[Service] | |
User=gotty | |
Group=gotty | |
Environment=TERM=xterm-256color | |
ExecStart=/home/gotty/gotty -a 127.0.0.1 -p "4200" -w ssh root@localhost | |
[Install] | |
WantedBy=multi-user.target |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment