summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Pagano <mpagano@gentoo.org>2023-05-04 18:49:38 -0400
committerMike Pagano <mpagano@gentoo.org>2023-05-04 18:49:38 -0400
commit97ee15648f49af75108356a4a8033b61de46ef58 (patch)
tree94fe2a28971bb86e84743b682dec2eeb77ee151f /www-apps/ttyd/files/ttyd.confd
parentRevert "app-arch/brotli: Set DISTUTILS_EXT=1" (diff)
downloadgentoo-97ee15648f49af75108356a4a8033b61de46ef58.tar.gz
gentoo-97ee15648f49af75108356a4a8033b61de46ef58.tar.bz2
gentoo-97ee15648f49af75108356a4a8033b61de46ef58.zip
www-apps/ttyd: new package, add 1.7.3, 9999
ttyd, a simple command-line tool for sharing terminal over the web Signed-off-by: Mike Pagano <mpagano@gentoo.org>
Diffstat (limited to 'www-apps/ttyd/files/ttyd.confd')
-rw-r--r--www-apps/ttyd/files/ttyd.confd29
1 files changed, 29 insertions, 0 deletions
diff --git a/www-apps/ttyd/files/ttyd.confd b/www-apps/ttyd/files/ttyd.confd
new file mode 100644
index 000000000000..57d24e3fb394
--- /dev/null
+++ b/www-apps/ttyd/files/ttyd.confd
@@ -0,0 +1,29 @@
+# conf.d file for ttyd
+
+# Please check man 1 ttyd for more information about the options
+#
+# Some of the meaningful options are:
+# -p, --port Port to listen (default: 7681, use `0` for random port)
+# -i, --interface Network interface to bind (eg: eth0), or UNIX domain socket path (eg: /var/run/ttyd.sock)
+# -c, --credential Credential for Basic Authentication (format: username:password)
+# -u, --uid User id to run with
+# -g, --gid Group id to run with
+# -s, --signal Signal to send to the command when exit it (default: 1, SIGHUP)
+# -r, --reconnect Time to reconnect for the client in seconds (default: 10)
+# -R, --readonly Do not allow clients to write to the TTY
+# -t, --client-option Send option to client (format: key=value), repeat to add more options
+# -T, --terminal-type Terminal type to report, default: xterm-256color
+# -O, --check-origin Do not allow websocket connection from different origin
+# -m, --max-clients Maximum clients to support (default: 0, no limit)
+# -o, --once Accept only one client and exit on disconnection
+# -B, --browser Open terminal with the default system browser
+# -I, --index Custom index.html path
+# -6, --ipv6 Enable IPv6 support
+# -S, --ssl Enable SSL
+# -C, --ssl-cert SSL certificate file path
+# -K, --ssl-key SSL key file path
+# -A, --ssl-ca SSL CA file path for client certificate verification
+# -d, --debug Set log level (default: 7)
+# login --- Login with system accounts
+
+TTYD_OPTS="login"