summaryrefslogtreecommitdiffstats
path: root/debian/ttyd.service
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-19 02:54:31 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-19 02:54:31 +0000
commitdb1cb443e03f2b1e5176fa07b28b7f2cb547c0e5 (patch)
tree3ba77a067ab4f86e889cd259b8a7338910cbb782 /debian/ttyd.service
parentAdding upstream version 1.7.4. (diff)
downloadttyd-debian/1.7.4-1.tar.xz
ttyd-debian/1.7.4-1.zip
Adding debian version 1.7.4-1.debian/1.7.4-1
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rw-r--r--debian/ttyd.service17
1 files changed, 17 insertions, 0 deletions
diff --git a/debian/ttyd.service b/debian/ttyd.service
new file mode 100644
index 0000000..25956c7
--- /dev/null
+++ b/debian/ttyd.service
@@ -0,0 +1,17 @@
+[Unit]
+Description=ttyd daemon
+Documentation=man:ttyd(1)
+After=network.target systemd-tmpfiles-clean.service
+
+[Service]
+Type=simple
+EnvironmentFile=/etc/default/ttyd
+ExecStart=/usr/bin/ttyd $TTYD_OPTIONS
+ExecReload=/usr/bin/kill -HUP $MAINPID
+KillMode=process
+LimitNOFILE=512
+LimitMEMLOCK=infinity
+LimitSTACK=infinity
+
+[Install]
+WantedBy=multi-user.target