dot

packages and services management
Log | Files | Refs | README

commit 65c3e303a915a5d68d252a731f114c5155a4d469
parent b85b16faa2deefa2fcff1d472ff434784f7ae69e
Author: Josuah Demangeon <mail@josuah.net>
Date:   Wed,  3 Oct 2018 01:06:42 +0200

use -tls and -run instead of -run for internet services

Add a template for httpfile-tls.

Diffstat:
Aconf-user | 3+++
Ms6/httpfile-log/consumer-for | 3++-
Rs6/httpfile-run/data/Makefile -> s6/httpfile-tcp/data/Makefile | 0
Rs6/httpfile-run/data/access.cdb -> s6/httpfile-tcp/data/access.cdb | 0
Rs6/httpfile-run/data/access.txt -> s6/httpfile-tcp/data/access.txt | 0
Rs6/httpfile-run/env/ACCESSFILE -> s6/httpfile-tcp/env/ACCESSFILE | 0
Rs6/httpfile-run/env/ROOT -> s6/httpfile-tcp/env/ROOT | 0
Rs6/httpfile-run/producer-for -> s6/httpfile-tcp/producer-for | 0
Rs6/httpfile-run/run -> s6/httpfile-tcp/run | 0
Rs6/httpfile-run/type -> s6/httpfile-tcp/type | 0
Rs6/httpfile-run/data/Makefile -> s6/httpfile-tls/data/Makefile | 0
Rs6/httpfile-run/data/access.txt -> s6/httpfile-tls/data/access.txt | 0
Rs6/httpfile-run/env/ACCESSFILE -> s6/httpfile-tls/env/ACCESSFILE | 0
As6/httpfile-tls/env/CERTFILE | 1+
As6/httpfile-tls/env/KEYFILE | 1+
Rs6/httpfile-run/env/ROOT -> s6/httpfile-tls/env/ROOT | 0
Rs6/httpfile-run/producer-for -> s6/httpfile-tls/producer-for | 0
As6/httpfile-tls/run | 8++++++++
Rs6/httpfile-run/type -> s6/httpfile-tls/type | 0
19 files changed, 15 insertions(+), 1 deletion(-)

diff --git a/conf-user b/conf-user @@ -0,0 +1,3 @@ +#!/bin/sh -e + + diff --git a/s6/httpfile-log/consumer-for b/s6/httpfile-log/consumer-for @@ -1 +1,2 @@ -httpfile-run +httpfile-tcp +httpfile-tls diff --git a/s6/httpfile-run/data/Makefile b/s6/httpfile-tcp/data/Makefile diff --git a/s6/httpfile-run/data/access.cdb b/s6/httpfile-tcp/data/access.cdb Binary files differ. diff --git a/s6/httpfile-run/data/access.txt b/s6/httpfile-tcp/data/access.txt diff --git a/s6/httpfile-run/env/ACCESSFILE b/s6/httpfile-tcp/env/ACCESSFILE diff --git a/s6/httpfile-run/env/ROOT b/s6/httpfile-tcp/env/ROOT diff --git a/s6/httpfile-run/producer-for b/s6/httpfile-tcp/producer-for diff --git a/s6/httpfile-run/run b/s6/httpfile-tcp/run diff --git a/s6/httpfile-run/type b/s6/httpfile-tcp/type diff --git a/s6/httpfile-run/data/Makefile b/s6/httpfile-tls/data/Makefile diff --git a/s6/httpfile-run/data/access.txt b/s6/httpfile-tls/data/access.txt diff --git a/s6/httpfile-run/env/ACCESSFILE b/s6/httpfile-tls/env/ACCESSFILE diff --git a/s6/httpfile-tls/env/CERTFILE b/s6/httpfile-tls/env/CERTFILE @@ -0,0 +1 @@ +data/pem diff --git a/s6/httpfile-tls/env/KEYFILE b/s6/httpfile-tls/env/KEYFILE @@ -0,0 +1 @@ +data/key diff --git a/s6/httpfile-run/env/ROOT b/s6/httpfile-tls/env/ROOT diff --git a/s6/httpfile-run/producer-for b/s6/httpfile-tls/producer-for diff --git a/s6/httpfile-tls/run b/s6/httpfile-tls/run @@ -0,0 +1,8 @@ +#!/usr/bin/env execlineb +fdmove -c 2 1 + +s6-envdir env +s6-envuidgid www +s6-tlsserver -vD -b50 -c100 0.0.0.0 80 + +httpfile-httpd /var/www/ diff --git a/s6/httpfile-run/type b/s6/httpfile-tls/type