blob: fbf54c57bdc72e63f639252a23cb7ac89e7e65d8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
[Unit]
Description=Pi-KVM Web Terminal (GoTTY)
After=network.target
[Service]
User=kvmd-webterm
Group=kvmd-webterm
WorkingDirectory=/home/kvmd-webterm
Environment=TERM=xterm-256color
ExecStart=/usr/bin/gotty \
--title-format="Pi-KVM Terminal: {{ .hostname }} (GoTTY)" \
--address=127.0.0.1 \
--port=8090 \
--index=/usr/share/kvmd/extras/webterm/index.html \
--permit-write \
/bin/bash -c 'cat /etc/motd; bash'
[Install]
WantedBy=multi-user.target
|