summaryrefslogtreecommitdiffstats
path: root/debian/local/default/ttyd
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2021-02-22 20:56:26 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2021-02-22 20:58:49 +0000
commit1192e2475a0cf5b02810694e48cd58eb1b396198 (patch)
tree8b3f79d999584cb377ce0fb375e3d7396f03e4d8 /debian/local/default/ttyd
parentReleasing debian version 1.6.3-2. (diff)
downloadttyd-1192e2475a0cf5b02810694e48cd58eb1b396198.tar.xz
ttyd-1192e2475a0cf5b02810694e48cd58eb1b396198.zip
Adding /etc/default/ttyd to handle options used to start ttyd via systemd unit.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'debian/local/default/ttyd')
-rw-r--r--debian/local/default/ttyd8
1 files changed, 8 insertions, 0 deletions
diff --git a/debian/local/default/ttyd b/debian/local/default/ttyd
new file mode 100644
index 0000000..a84ec9f
--- /dev/null
+++ b/debian/local/default/ttyd
@@ -0,0 +1,8 @@
+# /etc/default/ttyd
+
+INTERFACE="-i lo"
+PORT="-p 7681"
+CHECK_ORIGIN="-O"
+COMMAND="login"
+
+TTYD_OPTIONS="${INTERFACE} ${PORT} ${CHECK_ORIGIN} ${COMMAND}"