summarylogtreecommitdiffstats
path: root/kvmd-webterm.service
diff options
context:
space:
mode:
authorDevaev Maxim2019-02-12 04:08:18 +0300
committerDevaev Maxim2019-02-12 04:08:18 +0300
commit02294110257cf4959a37fbd362fb871e06b4bb56 (patch)
treea04e0e2b3c50bf3a127bdcf9766a980680d3009b /kvmd-webterm.service
parente06c3ecfdd83d0a7d5b18d015f832fad4d391260 (diff)
downloadaur-02294110257cf4959a37fbd362fb871e06b4bb56.tar.gz
printing motd
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