dot

packages and services management
Log | Files | Refs | README

commit 653b9a5ff0cd105170e3c25abb3e280150a4a0e9
parent 8705d2b8dd46187d4bbc923d1d42ab80611bb14b
Author: Josuah Demangeon <mail@josuah.net>
Date:   Sat, 10 Nov 2018 16:01:17 +0100

s6/vsftpd: one file per variable

Diffstat:
As6/vsftpd-tcp/x/data/allow_anon_ssl | 1+
As6/vsftpd-tcp/x/data/anon_root | 1+
As6/vsftpd-tcp/x/data/anonymous_enable | 1+
As6/vsftpd-tcp/x/data/connect_from_port_20 | 1+
As6/vsftpd-tcp/x/data/ftp_username | 1+
As6/vsftpd-tcp/x/data/listen | 1+
As6/vsftpd-tcp/x/data/pasv_enable | 1+
As6/vsftpd-tcp/x/data/pasv_promiscuous | 1+
As6/vsftpd-tcp/x/data/ssl_enable | 1+
As6/vsftpd-tcp/x/data/tcp_wrappers | 1+
As6/vsftpd-tcp/x/data/vsftpd_log_file | 1+
As6/vsftpd-tcp/x/env/HOST | 1+
As6/vsftpd-tcp/x/env/PORT | 1+
As6/vsftpd-tcp/x/env/ROOT | 1+
As6/vsftpd-tcp/x/run | 14++++++++++++++
As6/vsftpd-tcp/x/type | 1+
16 files changed, 29 insertions(+), 0 deletions(-)

diff --git a/s6/vsftpd-tcp/x/data/allow_anon_ssl b/s6/vsftpd-tcp/x/data/allow_anon_ssl @@ -0,0 +1 @@ +YES diff --git a/s6/vsftpd-tcp/x/data/anon_root b/s6/vsftpd-tcp/x/data/anon_root @@ -0,0 +1 @@ +/var/ftp diff --git a/s6/vsftpd-tcp/x/data/anonymous_enable b/s6/vsftpd-tcp/x/data/anonymous_enable @@ -0,0 +1 @@ +YES diff --git a/s6/vsftpd-tcp/x/data/connect_from_port_20 b/s6/vsftpd-tcp/x/data/connect_from_port_20 @@ -0,0 +1 @@ +YES diff --git a/s6/vsftpd-tcp/x/data/ftp_username b/s6/vsftpd-tcp/x/data/ftp_username @@ -0,0 +1 @@ +ftp diff --git a/s6/vsftpd-tcp/x/data/listen b/s6/vsftpd-tcp/x/data/listen @@ -0,0 +1 @@ +YES diff --git a/s6/vsftpd-tcp/x/data/pasv_enable b/s6/vsftpd-tcp/x/data/pasv_enable @@ -0,0 +1 @@ +YES diff --git a/s6/vsftpd-tcp/x/data/pasv_promiscuous b/s6/vsftpd-tcp/x/data/pasv_promiscuous @@ -0,0 +1 @@ +NO diff --git a/s6/vsftpd-tcp/x/data/ssl_enable b/s6/vsftpd-tcp/x/data/ssl_enable @@ -0,0 +1 @@ +YES diff --git a/s6/vsftpd-tcp/x/data/tcp_wrappers b/s6/vsftpd-tcp/x/data/tcp_wrappers @@ -0,0 +1 @@ +YES diff --git a/s6/vsftpd-tcp/x/data/vsftpd_log_file b/s6/vsftpd-tcp/x/data/vsftpd_log_file @@ -0,0 +1 @@ +/dev/stderr diff --git a/s6/vsftpd-tcp/x/env/HOST b/s6/vsftpd-tcp/x/env/HOST @@ -0,0 +1 @@ +0.0.0.0 diff --git a/s6/vsftpd-tcp/x/env/PORT b/s6/vsftpd-tcp/x/env/PORT @@ -0,0 +1 @@ +21 diff --git a/s6/vsftpd-tcp/x/env/ROOT b/s6/vsftpd-tcp/x/env/ROOT @@ -0,0 +1 @@ +/var/ftp diff --git a/s6/vsftpd-tcp/x/run b/s6/vsftpd-tcp/x/run @@ -0,0 +1,14 @@ +#!/usr/bin/env execlineb +fdmove -c 2 1 s6-envdir env multisubstitute { + importas HOST HOST + importas PORT PORT +} + +# convert from data/file:content to conf:file=content +if { redirfd -w 1 conf cd data + forbacktickx x { ls } importas x x + if { printf "%s=" $x } cat $x +} + +s6-tcpserver $HOST $PORT +vsftpd conf diff --git a/s6/vsftpd-tcp/x/type b/s6/vsftpd-tcp/x/type @@ -0,0 +1 @@ +longrun