dot

packages and services management
Log | Files | Refs | README

commit 9da7aa596904ae521c517da4bad5549ed887a9d4
parent 6245ebf6417e0743a2eea7c0773673f28d0f9ca4
Author: Josuah Demangeon <mail@josuah.net>
Date:   Fri, 30 Mar 2018 13:26:41 +0200

restructured runit configs

Diffstat:
Mbin/dvtm-status | 6+++---
Abin/mksvdir | 20++++++++++++++++++++
Mbin/pack | 24++++++++++++------------
Rrunit/authsrv9/auth/authdom -> run/authsrv9/auth/authdom | 0
Rrunit/authsrv9/auth/authid -> run/authsrv9/auth/authid | 0
Rrunit/authsrv9/auth/badusers -> run/authsrv9/auth/badusers | 0
Rrunit/authsrv9/auth/users/bootes/expire -> run/authsrv9/auth/users/bootes/expire | 0
Rrunit/authsrv9/auth/users/bootes/status -> run/authsrv9/auth/users/bootes/status | 0
Rrunit/authsrv9/auth/users/josuah/expire -> run/authsrv9/auth/users/josuah/expire | 0
Rrunit/authsrv9/auth/users/josuah/status -> run/authsrv9/auth/users/josuah/status | 0
Rrunit/authsrv9/auth/users/sys/expire -> run/authsrv9/auth/users/sys/expire | 0
Rrunit/authsrv9/auth/users/sys/status -> run/authsrv9/auth/users/sys/status | 0
Rrunit/authsrv9/run -> run/authsrv9/run | 0
Arun/brssl/run | 8++++++++
Rrunit/cherrymusic/run -> run/cherrymusic/run | 0
Rrunit/collectd/run -> run/collectd/run | 0
Rrunit/crond/run -> run/crond/run | 0
Rrunit/geomyidae/run -> run/geomyidae/run | 0
Rrunit/ghttp/run -> run/ghttp/run | 0
Rrunit/git/run -> run/git/run | 0
Rrunit/gproxy/run -> run/gproxy/run | 0
Arun/ii/run | 18++++++++++++++++++
Rrunit/inetd/run -> run/inetd/run | 0
Rrunit/ngircd/run -> run/ngircd/run | 0
Rrunit/opentracker/run -> run/opentracker/run | 0
Rrunit/quark/run -> run/quark/run | 0
Rrunit/ratox/run -> run/ratox/run | 0
Rrunit/u9fs/run -> run/runit/run | 0
Rrunit/ssh-agent/run -> run/ssh-agent/run | 0
Rrunit/ssh-fwd/run -> run/ssh-fwd/run | 0
Rrunit/cherrymusic/log/run -> run/svlogd/run | 0
Rrunit/tinc/run -> run/tinc/run | 0
Rrunit/tinyssh/run -> run/tinyssh/run | 0
Rrunit/tls-irc.cyberia.is/run -> run/tls/run | 0
Rrunit/tor/run -> run/tor/run | 0
Rrunit/u9fs/run -> run/u9fs/run | 0
Drunit/.gitignore | 6------
Drunit/authsrv9/.gitignore | 1-
Drunit/authsrv9/bin/authsrv9 | 0
Drunit/authsrv9/bin/tcpserver | 0
Drunit/authsrv9/log/run | 2--
Drunit/authsrv9/pass | 6------
Drunit/collectd/log/run | 3---
Drunit/crond/log/run | 3---
Drunit/geomyidae/log/run | 3---
Drunit/ghttp/log/run | 3---
Drunit/git/log/run | 3---
Drunit/gproxy/log/run | 3---
Drunit/ii-irc.cyberia.is/log/run | 3---
Drunit/ii-irc.cyberia.is/run | 16----------------
Drunit/ii-irc.efnet.org/log/run | 3---
Drunit/ii-irc.efnet.org/run | 16----------------
Drunit/ii-irc.freenode.net/log/run | 3---
Drunit/ii-irc.freenode.net/run | 16----------------
Drunit/ii-irc.oftc.net/log/run | 3---
Drunit/ii-irc.oftc.net/run | 16----------------
Drunit/ii-irc.rezosup.net/log/run | 3---
Drunit/ii-irc.rezosup.net/run | 16----------------
Drunit/ii-unix.chat/log/run | 3---
Drunit/ii-unix.chat/run | 16----------------
Drunit/ii/log/run | 3---
Drunit/ii/run | 16----------------
Drunit/inetd/log/run | 3---
Drunit/ngircd/log/run | 3---
Drunit/opentracker/log/run | 3---
Drunit/quark/log/run | 3---
Drunit/ratox/log/run | 3---
Drunit/runsvdir/run | 3---
Drunit/ssh-agent/log/run | 3---
Drunit/ssh-fwd/nas.josuah.net/log/run | 2--
Drunit/ssh-fwd/nas.josuah.net/run | 3---
Drunit/svlogd/run | 3---
Drunit/tinc/log/run | 3---
Drunit/tinyssh/log/run | 3---
Drunit/tls-irc.cyberia.is/log/run | 3---
Drunit/tls-irc.freenode.net/log/run | 3---
Drunit/tls-irc.freenode.net/run | 8--------
Drunit/tls-irc.oftc.net/log/run | 3---
Drunit/tls-irc.oftc.net/run | 8--------
Drunit/tls-unix.chat/log/run | 3---
Drunit/tls-unix.chat/run | 8--------
Drunit/tls/run | 8--------
Drunit/tor/log/run | 3---
Drunit/u9fs/.gitignore | 1-
Drunit/u9fs/log/run | 2--
Drunit/u9fs/pass | 14--------------
86 files changed, 61 insertions(+), 280 deletions(-)

diff --git a/bin/dvtm-status b/bin/dvtm-status @@ -6,10 +6,10 @@ FIFO="/tmp/dvtm-status.$$" while true do - printf '%s\n' "$(status)" > "$FIFO" + printf '%s\n' "$(status)" >"$FIFO" sleep 10 done & PID="${!}" -dvtm -s "$FIFO" "$@" 2> /dev/null +dvtm -s "$FIFO" "$@" 2>/dev/null kill "$PID" -wait "$PID" 2> /dev/null +wait "$PID" 2>/dev/null diff --git a/bin/mksvdir b/bin/mksvdir @@ -0,0 +1,20 @@ +#!/bin/sh -e + +# prepare a runit service directory out of a ~/etc/run script + +: ${SVDIR?} ${HOME?} + +if [ ! $# = 1 ] && [ ! $# = 2 ] || [ ! -d "$HOME/etc/run/$1" ] +then + echo "usage: mksvdir service [name]" + echo + ls "$HOME/etc/run" | column + exit +fi + +target="${2-$1}" + +mkdir -p "$SVDIR/$target/log" +cp -R "$HOME/etc/run/$1"/* "$SVDIR/$target" +ln -sf "$HOME/etc/run/$1/run" "$SVDIR/$target/run" +ln -sf "$HOME/etc/run/svlogd/run" "$SVDIR/$target/log/run" diff --git a/bin/pack b/bin/pack @@ -1,12 +1,10 @@ #!/bin/sh -e -src="$PACKROOT/src/$2" +: ${PACK?} ${PACKROOT?} export PREFIX="$PACKROOT/opt/$2" -export CFLAGS="-I'$PACKROOT/include'" -export LDFLAGS="-L'$PACKROOT/lib'" - mkdir -p "$PACKROOT/src" "$PACKROOT/opt" +src="$PACKROOT/src/$2" case "$1" in (tar) @@ -31,8 +29,9 @@ case "$1" in git clone "$url" "$src" ;; (cvs) - [ -d "$src" ] && exit 0 || mkdir -p "$src" + [ -d "$src" ] && exit 0 + mkdir -p "$src" read -r url path < "$PACK/$2/cvs" cd "$src" cvs -qd "$url" checkout -P "$path" @@ -54,18 +53,19 @@ case "$1" in [ -d "$PREFIX" ] || "$0" build "$2" || rm -r "$PREFIX" cd "$PREFIX" - exec find * -type d \ - -exec sh -c 'mkdir -p "$PACKROOT/$0"' {} \; -o \ - -exec sh -c 'ln -sf "$PREFIX/$0" "$PACKROOT/$0"' {} \; + find . -type d \ + -exec sh -c 'mkdir -p "$PACKROOT/$0"' {} \; -o \ + -exec sh -c 'ln -f "$PREFIX/$0" "$PACKROOT/$0"' {} \; ;; (del) + cd "$PREFIX" + find . ! -type d -depth \ + -exec sh -c 'rm -f "../../$0"' {} \; rm -rf "$PREFIX" - exec find -L "$PACKROOT" -name opt -prune -o -name src -prune -o \ - -type l -exec rm {} + ;; (*) - echo "usage: pack tar | git | get | build | add | del <package>" - echo "" + echo "usage: pack tar | git | cvs | get | build | add | del package" + echo ls "$PACK" | column ;; esac diff --git a/runit/authsrv9/auth/authdom b/run/authsrv9/auth/authdom diff --git a/runit/authsrv9/auth/authid b/run/authsrv9/auth/authid diff --git a/runit/authsrv9/auth/badusers b/run/authsrv9/auth/badusers diff --git a/runit/authsrv9/auth/users/bootes/expire b/run/authsrv9/auth/users/bootes/expire diff --git a/runit/authsrv9/auth/users/bootes/status b/run/authsrv9/auth/users/bootes/status diff --git a/runit/authsrv9/auth/users/josuah/expire b/run/authsrv9/auth/users/josuah/expire diff --git a/runit/authsrv9/auth/users/josuah/status b/run/authsrv9/auth/users/josuah/status diff --git a/runit/authsrv9/auth/users/sys/expire b/run/authsrv9/auth/users/sys/expire diff --git a/runit/authsrv9/auth/users/sys/status b/run/authsrv9/auth/users/sys/status diff --git a/runit/authsrv9/run b/run/authsrv9/run diff --git a/run/brssl/run b/run/brssl/run @@ -0,0 +1,8 @@ +#!/bin/sh -e + +host="$(cd "$0/.." && pwd | sed 's:.*/brssl-::')" +port="6697" +path="/tmp" + +exec 2>&1 +exec unixserver "$path/$host" brssl client "$host:$port" diff --git a/runit/cherrymusic/run b/run/cherrymusic/run diff --git a/runit/collectd/run b/run/collectd/run diff --git a/runit/crond/run b/run/crond/run diff --git a/runit/geomyidae/run b/run/geomyidae/run diff --git a/runit/ghttp/run b/run/ghttp/run diff --git a/runit/git/run b/run/git/run diff --git a/runit/gproxy/run b/run/gproxy/run diff --git a/run/ii/run b/run/ii/run @@ -0,0 +1,18 @@ +#!/bin/sh -e + +# connect to an irc server through ii + +# If there is a socket in /tmp with the same name as the host, +# assume it is an openssl s_client inetd proxy and use the ii -u +# option to connect through it, otherwise use the port argument. + +path="$HOME/var/irc" +host="$(cd "$0/.." && pwd | sed 's:.*/ii-::')" + +mkdir -p "$path/$host" + +[ -S "/tmp/$host" ] && p="u" port="/tmp/$host" || p="p" port="6667" + +exec 2>&1 +exec 1>> "$path/$host/log" +exec ii -s "$host" -i "$path" -$p "$port" -n "$NICK"ii -k "PASS" -f "$NAME" diff --git a/runit/inetd/run b/run/inetd/run diff --git a/runit/ngircd/run b/run/ngircd/run diff --git a/runit/opentracker/run b/run/opentracker/run diff --git a/runit/quark/run b/run/quark/run diff --git a/runit/ratox/run b/run/ratox/run diff --git a/runit/u9fs/run b/run/runit/run diff --git a/runit/ssh-agent/run b/run/ssh-agent/run diff --git a/runit/ssh-fwd/run b/run/ssh-fwd/run diff --git a/runit/cherrymusic/log/run b/run/svlogd/run diff --git a/runit/tinc/run b/run/tinc/run diff --git a/runit/tinyssh/run b/run/tinyssh/run diff --git a/runit/tls-irc.cyberia.is/run b/run/tls/run diff --git a/runit/tor/run b/run/tor/run diff --git a/runit/u9fs/run b/run/u9fs/run diff --git a/runit/.gitignore b/runit/.gitignore @@ -1,6 +0,0 @@ -*/supervise -*/log/* -!*/log/run -*/lock -*/@* -*/current diff --git a/runit/authsrv9/.gitignore b/runit/authsrv9/.gitignore @@ -1 +0,0 @@ -auth/users/*/key diff --git a/runit/authsrv9/bin/authsrv9 b/runit/authsrv9/bin/authsrv9 Binary files differ. diff --git a/runit/authsrv9/bin/tcpserver b/runit/authsrv9/bin/tcpserver Binary files differ. diff --git a/runit/authsrv9/log/run b/runit/authsrv9/log/run @@ -1 +0,0 @@ -../../svlogd/run- \ No newline at end of file diff --git a/runit/authsrv9/pass b/runit/authsrv9/pass @@ -1,6 +0,0 @@ -#!/bin/sh -ex - -for u in josuah bootes sys -do - [ -f "auth/users/$u/key" ] || passtokey >"auth/users/$u/key" -done diff --git a/runit/collectd/log/run b/runit/collectd/log/run @@ -1,3 +0,0 @@ -#!/bin/sh -e - -exec svlogd -tt . diff --git a/runit/crond/log/run b/runit/crond/log/run @@ -1,3 +0,0 @@ -#!/bin/sh -e - -exec svlogd -tt . diff --git a/runit/geomyidae/log/run b/runit/geomyidae/log/run @@ -1,3 +0,0 @@ -#!/bin/sh -e - -exec svlogd -tt . diff --git a/runit/ghttp/log/run b/runit/ghttp/log/run @@ -1,3 +0,0 @@ -#!/bin/sh -e - -exec svlogd -tt . diff --git a/runit/git/log/run b/runit/git/log/run @@ -1,3 +0,0 @@ -#!/bin/sh -e - -exec svlogd -tt . diff --git a/runit/gproxy/log/run b/runit/gproxy/log/run @@ -1,3 +0,0 @@ -#!/bin/sh -e - -exec svlogd -tt . diff --git a/runit/ii-irc.cyberia.is/log/run b/runit/ii-irc.cyberia.is/log/run @@ -1,3 +0,0 @@ -#!/bin/sh -e - -exec svlogd -tt . diff --git a/runit/ii-irc.cyberia.is/run b/runit/ii-irc.cyberia.is/run @@ -1,16 +0,0 @@ -#!/bin/sh -e - -# Connect to an irc server through ii. If there is a socket in /tmp with the -# same name as the host, assume it is an openssl s_client inetd proxy and use -# the ii -u option to connect through it, otherwise use the port argument. - -path="$HOME/var/irc" -host="$(cd "$(dirname "$0")" && pwd | sed 's:.*/ii-::')" - -mkdir -p "$path/$host" - -[ -S "/tmp/$host" ] && p="u" port="/tmp/$host" || p="p" port="6667" - -exec 2>&1 -exec 1>> "$path/$host/log" -exec ii -s "$host" -i "$path" -$p "$port" -n "$NICK"ii -k "PASS" -f "$NAME" diff --git a/runit/ii-irc.efnet.org/log/run b/runit/ii-irc.efnet.org/log/run @@ -1,3 +0,0 @@ -#!/bin/sh -e - -exec svlogd -tt . diff --git a/runit/ii-irc.efnet.org/run b/runit/ii-irc.efnet.org/run @@ -1,16 +0,0 @@ -#!/bin/sh -e - -# Connect to an irc server through ii. If there is a socket in /tmp with the -# same name as the host, assume it is an openssl s_client inetd proxy and use -# the ii -u option to connect through it, otherwise use the port argument. - -path="$HOME/var/irc" -host="$(cd "$(dirname "$0")" && pwd | sed 's:.*/ii-::')" - -mkdir -p "$path/$host" - -[ -S "/tmp/$host" ] && p="u" port="/tmp/$host" || p="p" port="6667" - -exec 2>&1 -exec 1>> "$path/$host/log" -exec ii -s "$host" -i "$path" -$p "$port" -n "$NICK"ii -k "PASS" -f "$NAME" diff --git a/runit/ii-irc.freenode.net/log/run b/runit/ii-irc.freenode.net/log/run @@ -1,3 +0,0 @@ -#!/bin/sh -e - -exec svlogd -tt . diff --git a/runit/ii-irc.freenode.net/run b/runit/ii-irc.freenode.net/run @@ -1,16 +0,0 @@ -#!/bin/sh -e - -# Connect to an irc server through ii. If there is a socket in /tmp with the -# same name as the host, assume it is an openssl s_client inetd proxy and use -# the ii -u option to connect through it, otherwise use the port argument. - -path="$HOME/var/irc" -host="$(cd "$(dirname "$0")" && pwd | sed 's:.*/ii-::')" - -mkdir -p "$path/$host" - -[ -S "/tmp/$host" ] && p="u" port="/tmp/$host" || p="p" port="6667" - -exec 2>&1 -exec 1>> "$path/$host/log" -exec ii -s "$host" -i "$path" -$p "$port" -n "$NICK"ii -k "PASS" -f "$NAME" diff --git a/runit/ii-irc.oftc.net/log/run b/runit/ii-irc.oftc.net/log/run @@ -1,3 +0,0 @@ -#!/bin/sh -e - -exec svlogd -tt . diff --git a/runit/ii-irc.oftc.net/run b/runit/ii-irc.oftc.net/run @@ -1,16 +0,0 @@ -#!/bin/sh -e - -# Connect to an irc server through ii. If there is a socket in /tmp with the -# same name as the host, assume it is an openssl s_client inetd proxy and use -# the ii -u option to connect through it, otherwise use the port argument. - -path="$HOME/var/irc" -host="$(cd "$(dirname "$0")" && pwd | sed 's:.*/ii-::')" - -mkdir -p "$path/$host" - -[ -S "/tmp/$host" ] && p="u" port="/tmp/$host" || p="p" port="6667" - -exec 2>&1 -exec 1>> "$path/$host/log" -exec ii -s "$host" -i "$path" -$p "$port" -n "$NICK"ii -k "PASS" -f "$NAME" diff --git a/runit/ii-irc.rezosup.net/log/run b/runit/ii-irc.rezosup.net/log/run @@ -1,3 +0,0 @@ -#!/bin/sh -e - -exec svlogd -tt . diff --git a/runit/ii-irc.rezosup.net/run b/runit/ii-irc.rezosup.net/run @@ -1,16 +0,0 @@ -#!/bin/sh -e - -# Connect to an irc server through ii. If there is a socket in /tmp with the -# same name as the host, assume it is an openssl s_client inetd proxy and use -# the ii -u option to connect through it, otherwise use the port argument. - -path="$HOME/var/irc" -host="$(cd "$(dirname "$0")" && pwd | sed 's:.*/ii-::')" - -mkdir -p "$path/$host" - -[ -S "/tmp/$host" ] && p="u" port="/tmp/$host" || p="p" port="6667" - -exec 2>&1 -exec 1>> "$path/$host/log" -exec ii -s "$host" -i "$path" -$p "$port" -n "$NICK"ii -k "PASS" -f "$NAME" diff --git a/runit/ii-unix.chat/log/run b/runit/ii-unix.chat/log/run @@ -1,3 +0,0 @@ -#!/bin/sh -e - -exec svlogd -tt . diff --git a/runit/ii-unix.chat/run b/runit/ii-unix.chat/run @@ -1,16 +0,0 @@ -#!/bin/sh -e - -# Connect to an irc server through ii. If there is a socket in /tmp with the -# same name as the host, assume it is an openssl s_client inetd proxy and use -# the ii -u option to connect through it, otherwise use the port argument. - -path="$HOME/var/irc" -host="$(cd "$(dirname "$0")" && pwd | sed 's:.*/ii-::')" - -mkdir -p "$path/$host" - -[ -S "/tmp/$host" ] && p="u" port="/tmp/$host" || p="p" port="6667" - -exec 2>&1 -exec 1>> "$path/$host/log" -exec ii -s "$host" -i "$path" -$p "$port" -n "$NICK"ii -k "PASS" -f "$NAME" diff --git a/runit/ii/log/run b/runit/ii/log/run @@ -1,3 +0,0 @@ -#!/bin/sh -e - -exec svlogd -tt . diff --git a/runit/ii/run b/runit/ii/run @@ -1,16 +0,0 @@ -#!/bin/sh -e - -# Connect to an irc server through ii. If there is a socket in /tmp with the -# same name as the host, assume it is an openssl s_client inetd proxy and use -# the ii -u option to connect through it, otherwise use the port argument. - -path="$HOME/var/irc" -host="$(cd "$(dirname "$0")" && pwd | sed 's:.*/ii-::')" - -mkdir -p "$path/$host" - -[ -S "/tmp/$host" ] && p="u" port="/tmp/$host" || p="p" port="6667" - -exec 2>&1 -exec 1>> "$path/$host/log" -exec ii -s "$host" -i "$path" -$p "$port" -n "$NICK"ii -k "PASS" -f "$NAME" diff --git a/runit/inetd/log/run b/runit/inetd/log/run @@ -1,3 +0,0 @@ -#!/bin/sh -e - -exec svlogd -tt . diff --git a/runit/ngircd/log/run b/runit/ngircd/log/run @@ -1,3 +0,0 @@ -#!/bin/sh -e - -exec svlogd -tt . diff --git a/runit/opentracker/log/run b/runit/opentracker/log/run @@ -1,3 +0,0 @@ -#!/bin/sh -e - -exec svlogd -tt . diff --git a/runit/quark/log/run b/runit/quark/log/run @@ -1,3 +0,0 @@ -#!/bin/sh -e - -exec svlogd -tt . diff --git a/runit/ratox/log/run b/runit/ratox/log/run @@ -1,3 +0,0 @@ -#!/bin/sh -e - -exec svlogd -tt . diff --git a/runit/runsvdir/run b/runit/runsvdir/run @@ -1,3 +0,0 @@ -#!/bin/sh -e - -exec runsvdir "$SVDIR" ........................................................ diff --git a/runit/ssh-agent/log/run b/runit/ssh-agent/log/run @@ -1,3 +0,0 @@ -#!/bin/sh -e - -exec svlogd -tt . diff --git a/runit/ssh-fwd/nas.josuah.net/log/run b/runit/ssh-fwd/nas.josuah.net/log/run @@ -1 +0,0 @@ -../../../svlogd/run- \ No newline at end of file diff --git a/runit/ssh-fwd/nas.josuah.net/run b/runit/ssh-fwd/nas.josuah.net/run @@ -1,3 +0,0 @@ -#!/bin/sh -e - -../run josuah "$(basename "$PWD")" 2222 22 diff --git a/runit/svlogd/run b/runit/svlogd/run @@ -1,3 +0,0 @@ -#!/bin/sh -e - -exec svlogd -tt . diff --git a/runit/tinc/log/run b/runit/tinc/log/run @@ -1,3 +0,0 @@ -#!/bin/sh -e - -exec svlogd -tt . diff --git a/runit/tinyssh/log/run b/runit/tinyssh/log/run @@ -1,3 +0,0 @@ -#!/bin/sh -e - -exec svlogd -tt . diff --git a/runit/tls-irc.cyberia.is/log/run b/runit/tls-irc.cyberia.is/log/run @@ -1,3 +0,0 @@ -#!/bin/sh -e - -exec svlogd -tt . diff --git a/runit/tls-irc.freenode.net/log/run b/runit/tls-irc.freenode.net/log/run @@ -1,3 +0,0 @@ -#!/bin/sh -e - -exec svlogd -tt . diff --git a/runit/tls-irc.freenode.net/run b/runit/tls-irc.freenode.net/run @@ -1,8 +0,0 @@ -#!/bin/sh -e - -host="$(cd "$(dirname "$0")" && pwd | sed 's:.*/tls-::')" -port="6697" -path="/tmp" - -exec 2>&1 -exec unixserver "$path/$host" brssl client "$host:$port" diff --git a/runit/tls-irc.oftc.net/log/run b/runit/tls-irc.oftc.net/log/run @@ -1,3 +0,0 @@ -#!/bin/sh -e - -exec svlogd -tt . diff --git a/runit/tls-irc.oftc.net/run b/runit/tls-irc.oftc.net/run @@ -1,8 +0,0 @@ -#!/bin/sh -e - -host="$(cd "$(dirname "$0")" && pwd | sed 's:.*/tls-::')" -port="6697" -path="/tmp" - -exec 2>&1 -exec unixserver "$path/$host" brssl client "$host:$port" diff --git a/runit/tls-unix.chat/log/run b/runit/tls-unix.chat/log/run @@ -1,3 +0,0 @@ -#!/bin/sh -e - -exec svlogd -tt . diff --git a/runit/tls-unix.chat/run b/runit/tls-unix.chat/run @@ -1,8 +0,0 @@ -#!/bin/sh -e - -host="$(cd "$(dirname "$0")" && pwd | sed 's:.*/tls-::')" -port="6697" -path="/tmp" - -exec 2>&1 -exec unixserver "$path/$host" brssl client "$host:$port" diff --git a/runit/tls/run b/runit/tls/run @@ -1,8 +0,0 @@ -#!/bin/sh -e - -host="$(cd "$(dirname "$0")" && pwd | sed 's:.*/tls-::')" -port="6697" -path="/tmp" - -exec 2>&1 -exec unixserver "$path/$host" brssl client "$host:$port" diff --git a/runit/tor/log/run b/runit/tor/log/run @@ -1,3 +0,0 @@ -#!/bin/sh -e - -exec svlogd -tt . diff --git a/runit/u9fs/.gitignore b/runit/u9fs/.gitignore @@ -1 +0,0 @@ -key diff --git a/runit/u9fs/log/run b/runit/u9fs/log/run @@ -1 +0,0 @@ -../../svlogd/run- \ No newline at end of file diff --git a/runit/u9fs/pass b/runit/u9fs/pass @@ -1,14 +0,0 @@ -#!/bin/sh -e - -[ ! -f key ] - -stty -echo -printf 'password: ' -sed q >key -printf '\n' -stty echo - -printf 'bootes\n' >>key -printf 'local\n' >>key - -chmod 600 key