summaryrefslogtreecommitdiff
path: root/www-apps/ttyd/files/ttyd.service
diff options
context:
space:
mode:
Diffstat (limited to 'www-apps/ttyd/files/ttyd.service')
-rw-r--r--www-apps/ttyd/files/ttyd.service11
1 files changed, 11 insertions, 0 deletions
diff --git a/www-apps/ttyd/files/ttyd.service b/www-apps/ttyd/files/ttyd.service
new file mode 100644
index 0000000..3315ad4
--- /dev/null
+++ b/www-apps/ttyd/files/ttyd.service
@@ -0,0 +1,11 @@
+[Unit]
+Description=ttyd daemon
+Documentation=man:ttyd(1)
+After=network.target
+
+[Service]
+EnvironmentFile=/etc/conf.d/ttyd
+ExecStart=/usr/bin/ttyd $TTYD_OPTS
+
+[Install]
+WantedBy=multi-user.target