aboutsummaryrefslogtreecommitdiffstats
path: root/community/tinyssh/tinyssh.initd
diff options
context:
space:
mode:
Diffstat (limited to 'community/tinyssh/tinyssh.initd')
-rw-r--r--community/tinyssh/tinyssh.initd20
1 files changed, 1 insertions, 19 deletions
diff --git a/community/tinyssh/tinyssh.initd b/community/tinyssh/tinyssh.initd
index 5671855176..49225d2fce 100644
--- a/community/tinyssh/tinyssh.initd
+++ b/community/tinyssh/tinyssh.initd
@@ -6,7 +6,6 @@
supervisor=supervise-daemon
description="Small SSH server using NaCl (no dependency on OpenSSL)"
-nice="0"
pidfile="/run/tinysshd.sd.pid"
supervise_daemon_args=""
@@ -28,24 +27,7 @@ depend() {
after logger firewall
}
-in_contr() {
- grep "container=" /proc/1/environ
-}
-
start_pre() {
checkpath --directory ${CONFDIR}
- eval $keygen $keydir 2>/dev/null
-
- if [ -z "$(in_contr)" ]; then
- supervise_daemon_args="$supervise_daemon_args -N $nice"
- fi
-
- # tinyssh also runs from inetd without tcpserver
- if [ ! -x /usr/bin/tcpserver ]; then
- # openrc does not use proxy environment by default
- if [ -f "$proxy_env" ]; then
- . $proxy_env
- fi
- apk add ucspi-tcp6
- fi
+ $keygen $keydir 2>/dev/null
}