summarylogtreecommitdiffstats
path: root/kvmd-webterm.service
diff options
context:
space:
mode:
Diffstat (limited to 'kvmd-webterm.service')
-rw-r--r--kvmd-webterm.service8
1 files changed, 7 insertions, 1 deletions
diff --git a/kvmd-webterm.service b/kvmd-webterm.service
index 26e1cdd57504..fbf54c57bdc7 100644
--- a/kvmd-webterm.service
+++ b/kvmd-webterm.service
@@ -8,7 +8,13 @@ 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
+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