dot

packages and services management
Log | Files | Refs | README

commit e358bc27be562ccf5d8aaddf864dc51b90e38c46
parent 4f65084b141699a2d14e862ffba3ebc90219a773
Author: Josuah Demangeon <mail@josuah.net>
Date:   Wed, 28 Feb 2018 15:57:08 +0100

adding ghttpd and gproxy

Diffstat:
Arunit/ghttp/log/run | 2++
Arunit/ghttp/run | 7+++++++
Arunit/gproxy/log/run | 3+++
Arunit/gproxy/run | 7+++++++
Mskel/inetd.conf | 10----------
5 files changed, 19 insertions(+), 10 deletions(-)

diff --git a/runit/ghttp/log/run b/runit/ghttp/log/run @@ -0,0 +1 @@ +../../svlogd/run+ \ No newline at end of file diff --git a/runit/ghttp/run b/runit/ghttp/run @@ -0,0 +1,7 @@ +#!/bin/sh + +port="80" +host="josuah.net" + +exec 2>&1 +exec tcpserver 0.0.0.0 "$port" ghttpd "$host" diff --git a/runit/gproxy/log/run b/runit/gproxy/log/run @@ -0,0 +1,3 @@ +#!/bin/sh -ex + +exec svlogd -tt . diff --git a/runit/gproxy/run b/runit/gproxy/run @@ -0,0 +1,7 @@ +#!/bin/sh + +port="80" +host="nas.josuah.net" + +exec 2>&1 +exec tcpserver 0.0.0.0 "$port" gproxy "$host" diff --git a/skel/inetd.conf b/skel/inetd.conf @@ -4,15 +4,5 @@ #/tmp/u9fs stream unix nowait nobody /XXX/bin/u9fs u9fs -u XXX -a none /XXX/ #http stream tcp nowait nobody /XXX/bin/gproxy gproxy nas.josuah.net -#http stream tcp nowait nobody /XXX/bin/ghttp ghttp josuah.net -#gopher dgram tcp wait root /XXX/bin/geomyidae geomyidae -b /XXX/srv -h josuah.net #rsync stream tcp nowait nobody /XXX/bin/rsyncd rsyncd --daemon - -#git stream tcp nowait nobody /XXX/bin/git git daemon --inetd --base-path=/XXX/git --export-all - -#/tmp/irc.cyberia.is stream unix nowait nobody /XXX/bin/brssl brssl client irc.cyberia.is:6697 -#/tmp/unix.chat stream unix nowait nobody /XXX/bin/brssl brssl client unix.chat:6697 -#/tmp/irc.freenode.net stream unix nowait nobody /XXX/bin/brssl brssl client irc.freenode.net:6697 -#/tmp/irc.oftc.net stream unix nowait nobody /XXX/bin/brssl brssl client irc.oftc.net:6697 -#/tmp/irc.rezosup.net stream unix nowait nobody /XXX/bin/brssl brssl client irc.rezosup.net:6697