dot

packages and services management
Log | Files | Refs | README

commit f317b9c05341ef36a25602fc040961a440caed40
parent d06042da73e7c14ab355cf297b6fc8e4481d6733
Author: Josuah Demangeon <mail@josuah.net>
Date:   Mon, 15 Jan 2018 00:56:22 +0100

added xinetd for gopher-proxy

Diffstat:
Mbin/etc | 6+++---
Askel/xinetd.conf | 6++++++
Axinetd/gopher-proxy~ | 6++++++
3 files changed, 15 insertions(+), 3 deletions(-)

diff --git a/bin/etc b/bin/etc @@ -2,14 +2,14 @@ ETC=$(cd "${0%/*}/.." && pwd) case $1 in -(dot) +(link) cd "$ETC" || exit 1 find * -type d -exec mkdir -p "$HOME/.config/{}" ';' find * ! -type d -exec ln -fs "$ETC/{}" "$HOME/.config/{}" ';' cd "$ETC/dot" || exit 1 find * -type d -exec mkdir -p "$HOME/.{}" ';' find * ! -type d -exec ln -fs "$ETC/dot/{}" "$HOME/.{}" ';' - find -L "$HOME" -maxdepth 3 -type l -exec rm {} + + find -L "$HOME" -maxdepth 2 -type l -exec rm {} + ;; (mkdir) mkdir -p "$HOME/git" @@ -33,5 +33,5 @@ case $1 in tinc -n josuah.net import ;; (*) - echo 'usage: etc dot | mkdir | srv' + echo 'usage: etc link | mkdir | srv' esac diff --git a/skel/xinetd.conf b/skel/xinetd.conf @@ -0,0 +1,6 @@ +includedir /root/.config/xinetd + +defaults +{ + instances = 10 +} diff --git a/xinetd/gopher-proxy~ b/xinetd/gopher-proxy~ @@ -0,0 +1,6 @@ +service gopher-proxy +{ + socket_type = stream + protocol = tcp + port = 8080 +}