feat: initial release - mobile-first web terminal with tmux, toolbar, and push notifications
This commit is contained in:
@@ -0,0 +1,29 @@
|
||||
[Unit]
|
||||
Description=ttyd web terminal (kitty.sethpc.xyz)
|
||||
After=network.target
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
User=rdp
|
||||
Group=rdp
|
||||
|
||||
ExecStartPre=/bin/bash -c "/usr/bin/tmux kill-session -t kitty 2>/dev/null; sleep 0.5; /usr/bin/tmux new-session -d -s kitty -x 120 -y 40"
|
||||
ExecStart=/usr/local/bin/ttyd \
|
||||
--port 7681 \
|
||||
--interface 0.0.0.0 \
|
||||
--index /opt/ttyd/index-with-toolbar.html \
|
||||
--writable \
|
||||
--check-origin \
|
||||
--max-clients 5 \
|
||||
--ping-interval 30 \
|
||||
--client-option titleFixed=sethpc.xyz \
|
||||
--client-option fontSize=18 \
|
||||
--client-option fontFamily=monospace \
|
||||
--client-option enableSixel=true \
|
||||
/usr/bin/tmux attach-session -t kitty
|
||||
|
||||
Restart=always
|
||||
RestartSec=3
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
Reference in New Issue
Block a user