diff options
author | Marcin Deranek <marcin.deranek@booking.com> | 2023-04-23 15:08:12 +0200 |
---|---|---|
committer | Marcin Deranek <marcin.deranek@booking.com> | 2023-04-23 15:08:24 +0200 |
commit | 568402d9adc6ed574ccc9545380dbf128f9d41d7 (patch) | |
tree | 3f3ebc1fbbf2a64f9def6f702817b025e2476d77 /www-apps/ttyd/files/ttyd.initd | |
parent | c7ab3870d0d07fe24ce0dfdd3c480b8dc9799b1b (diff) | |
download | portage-568402d9adc6ed574ccc9545380dbf128f9d41d7.tar.gz portage-568402d9adc6ed574ccc9545380dbf128f9d41d7.tar.bz2 portage-568402d9adc6ed574ccc9545380dbf128f9d41d7.zip |
www-apps/ttyd: New ebuild
Diffstat (limited to 'www-apps/ttyd/files/ttyd.initd')
-rw-r--r-- | www-apps/ttyd/files/ttyd.initd | 14 |
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 0000000..7e8821b --- /dev/null +++ b/www-apps/ttyd/files/ttyd.initd @@ -0,0 +1,14 @@ +#!/sbin/openrc-run +# shellcheck shell=sh +# Copyright 2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +name="ttyd daemon" +command="/usr/bin/ttyd" +command_args="${TTYD_OPTS}" +command_background="true" +pidfile="/run/ttyd.pid" + +depend() { + use logger net +} |