dot

packages and services management
Log | Files | Refs | README

commit 4981101d8ac983e0621230ba7061a8620e416a7b
parent 96033618257637a040501ee06db791472ed28c89
Author: Josuah Demangeon <mail@josuah.net>
Date:   Sat, 20 Oct 2018 15:45:49 +0200

add a README

Diffstat:
AREADME | 33+++++++++++++++++++++++++++++++++
As6/ok-laptop/type | 1+
As6/ok-server/contents | 8++++++++
As6/ok-server/type | 1+
4 files changed, 43 insertions(+), 0 deletions(-)

diff --git a/README b/README @@ -0,0 +1,33 @@ +To use the s6-rc setup in this dotfile repository: + +Install the following software from https://skarnet.org: skalibs, +execline, s6, s6-rc. + +You might do it using the px tool: + # git clone git://josuah.net/px/ /var/px/ + # export PXPATH=/var/px + # px add s6-rc + libskarnet 2.7.0.0 get build install + execline 2.5.0.1 get build install + s6 2.7.2.0 get build install + s6-rc 0.4.0.1 get build install + # export PATH="$PATH:$PXPATH/bin" + +Then you can setup the s6-rc directories: + # ./conf-s6 + +Setup the initial set of services you want: + # cp -r s6/ok-all /etc/s6 + # + # cp -r s6/service1-* /etc/s6 + # echo service1 >>/etc/s6/ok-all/contents + # + # cp -r s6/service2-* /etc/s6 + # echo service2 >>/etc/s6/ok-all/contents + +And start the s6 supervision tree: + # ./s6-init + +You can then add aditionnal directories: + # cp -r s6/service-* /etc/s6 + # ./s6-load diff --git a/s6/ok-laptop/type b/s6/ok-laptop/type @@ -0,0 +1 @@ +bundle diff --git a/s6/ok-server/contents b/s6/ok-server/contents @@ -0,0 +1,8 @@ +httpfile +qmail +s6rc-fdholder +s6rc-oneshot-runner +tinysshd +ngircd +curvevpn +acme-client diff --git a/s6/ok-server/type b/s6/ok-server/type @@ -0,0 +1 @@ +bundle