summarylogtreecommitdiffstats
path: root/ttyd.service
diff options
context:
space:
mode:
authorElmar Klausmeier2022-11-01 13:39:17 +0100
committerElmar Klausmeier2022-11-01 13:39:17 +0100
commitb088cfc6232e64b3e0b6c9739865d60cb2282da6 (patch)
treed25b244fcceae2476a6dc93a1ba6969994207e0c /ttyd.service
downloadaur-b088cfc6232e64b3e0b6c9739865d60cb2282da6.tar.gz
Initial revision
Diffstat (limited to 'ttyd.service')
-rw-r--r--ttyd.service18
1 files changed, 18 insertions, 0 deletions
diff --git a/ttyd.service b/ttyd.service
new file mode 100644
index 000000000000..dde1388a09a5
--- /dev/null
+++ b/ttyd.service
@@ -0,0 +1,18 @@
+[Unit]
+Description=ttyd daemon
+Documentation=man:ttyd(1)
+After=network.target systemd-tmpfiles-clean.service
+Wants=hiawatha.service
+
+[Service]
+Type=simple
+ExecStart=/bin/ttyd /bin/slogin
+ExecReload=/bin/kill -HUP $MAINPID
+#PIDFile=/run/ttyd.pid
+KillMode=process
+LimitNOFILE=512
+LimitMEMLOCK=infinity
+LimitSTACK=infinity
+
+[Install]
+WantedBy=multi-user.target