summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Pagano <mpagano@gentoo.org>2023-05-04 18:49:38 -0400
committerMike Pagano <mpagano@gentoo.org>2023-05-04 18:49:38 -0400
commit97ee15648f49af75108356a4a8033b61de46ef58 (patch)
tree94fe2a28971bb86e84743b682dec2eeb77ee151f /www-apps/ttyd/files/ttyd.initd
parentRevert "app-arch/brotli: Set DISTUTILS_EXT=1" (diff)
downloadgentoo-97ee15648f49af75108356a4a8033b61de46ef58.tar.gz
gentoo-97ee15648f49af75108356a4a8033b61de46ef58.tar.bz2
gentoo-97ee15648f49af75108356a4a8033b61de46ef58.zip
www-apps/ttyd: new package, add 1.7.3, 9999
ttyd, a simple command-line tool for sharing terminal over the web Signed-off-by: Mike Pagano <mpagano@gentoo.org>
Diffstat (limited to 'www-apps/ttyd/files/ttyd.initd')
-rw-r--r--www-apps/ttyd/files/ttyd.initd14
1 files changed, 14 insertions, 0 deletions
diff --git a/www-apps/ttyd/files/ttyd.initd b/www-apps/ttyd/files/ttyd.initd
new file mode 100644
index 000000000000..9d1afdec19da
--- /dev/null
+++ b/www-apps/ttyd/files/ttyd.initd
@@ -0,0 +1,14 @@
+#!/sbin/openrc-run
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+name="ttyd daemon"
+pidfile="/var/run/ttyd.pid"
+command="/usr/bin/ttyd"
+command_args="${TTYD_OPTS}"
+command_background="true"
+start_stop_daemon_args="-b"
+
+depend() {
+ use logger
+}