dot

packages and services management
Log | Files | Refs | README

commit 961a2c12f3d7398b7ead1aa0e72859ab41a5fb29
parent 0cca57653528ccd5f64d1e5e8adab98a5ea709e7
Author: Josuah Demangeon <mail@josuah.net>
Date:   Tue,  2 Oct 2018 21:34:49 +0200

add httpfile

Diffstat:
As6/httpfile-log/consumer-for | 1+
As6/httpfile-log/pipeline-name | 1+
As6/httpfile-log/run | 2++
As6/httpfile-log/type | 1+
As6/httpfile-run/data/Makefile | 2++
As6/httpfile-run/data/access.cdb | 0
As6/httpfile-run/data/access.txt | 1+
As6/httpfile-run/env/ACCESSFILE | 1+
As6/httpfile-run/env/ROOT | 1+
As6/httpfile-run/producer-for | 1+
As6/httpfile-run/run | 8++++++++
As6/httpfile-run/type | 1+
12 files changed, 20 insertions(+), 0 deletions(-)

diff --git a/s6/httpfile-log/consumer-for b/s6/httpfile-log/consumer-for @@ -0,0 +1 @@ +httpfile-run diff --git a/s6/httpfile-log/pipeline-name b/s6/httpfile-log/pipeline-name @@ -0,0 +1 @@ +httpfile diff --git a/s6/httpfile-log/run b/s6/httpfile-log/run @@ -0,0 +1,2 @@ +#!/usr/bin/env execlineb +s6-log t /var/log/httpfile diff --git a/s6/httpfile-log/type b/s6/httpfile-log/type @@ -0,0 +1 @@ +longrun diff --git a/s6/httpfile-run/data/Makefile b/s6/httpfile-run/data/Makefile @@ -0,0 +1,2 @@ +access.cdb: access.txt + httpfile-access access.cdb access.tmp <access.txt diff --git a/s6/httpfile-run/data/access.cdb b/s6/httpfile-run/data/access.cdb Binary files differ. diff --git a/s6/httpfile-run/data/access.txt b/s6/httpfile-run/data/access.txt @@ -0,0 +1 @@ +localhost:/sec:user:pass diff --git a/s6/httpfile-run/env/ACCESSFILE b/s6/httpfile-run/env/ACCESSFILE @@ -0,0 +1 @@ +data/access.cdb diff --git a/s6/httpfile-run/env/ROOT b/s6/httpfile-run/env/ROOT @@ -0,0 +1 @@ +/var/www diff --git a/s6/httpfile-run/producer-for b/s6/httpfile-run/producer-for @@ -0,0 +1 @@ +httpfile-log diff --git a/s6/httpfile-run/run b/s6/httpfile-run/run @@ -0,0 +1,8 @@ +#!/usr/bin/env execlineb +fdmove -c 2 1 + +s6-envdir env +s6-envuidgid www +s6-tcpserver -vD -b50 -c100 0.0.0.0 80 + +httpfile-httpd /var/www/ diff --git a/s6/httpfile-run/type b/s6/httpfile-run/type @@ -0,0 +1 @@ +longrun