summaryrefslogtreecommitdiffstats
path: root/debian/ttyd.service
diff options
context:
space:
mode:
Diffstat (limited to 'debian/ttyd.service')
-rw-r--r--debian/ttyd.service16
1 files changed, 16 insertions, 0 deletions
diff --git a/debian/ttyd.service b/debian/ttyd.service
new file mode 100644
index 0000000..516d851
--- /dev/null
+++ b/debian/ttyd.service
@@ -0,0 +1,16 @@
+[Unit]
+Description=ttyd daemon
+Documentation=man:ttyd(1)
+After=network.target systemd-tmpfiles-clean.service
+
+[Service]
+Type=simple
+ExecStart=/bin/ttyd -i lo -p 7681 -O login
+ExecReload=/bin/kill -HUP $MAINPID
+KillMode=process
+LimitNOFILE=512
+LimitMEMLOCK=infinity
+LimitSTACK=infinity
+
+[Install]
+WantedBy=multi-user.target