From 31b95084abb39fbb0814ba86aec442782aef112f Mon Sep 17 00:00:00 2001 From: Wynn Wolf Arbor Date: Thu, 28 May 2020 18:49:11 +0200 Subject: Add documentation for skein(7) and skein-infra(8) --- skein-infra.8 | 56 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 56 insertions(+) create mode 100644 skein-infra.8 (limited to 'skein-infra.8') diff --git a/skein-infra.8 b/skein-infra.8 new file mode 100644 index 0000000..5c7c400 --- /dev/null +++ b/skein-infra.8 @@ -0,0 +1,56 @@ +.Dd May 28, 2020 +.Dt SKEIN-INFRA 8 +.Os +.Sh NAME +.Nm skein-infra +.Nd set up devices and bind mounts for +.Xr skein 7 +.Sh SYNOPSIS +.Nm +.Ar setup +.Nm +.Ar teardown +.Sh DESCRIPTION +.Nm +is a utility which sets up all necessary devices and bind mounts for the +.Xr skein 7 +cgit infrastructure. +.Pp +The commands are as follows: +.Bl -tag -width Ds +.It Sy setup +Creates +.Pa /dev/null +under +.Ev SKEIN_CGIT_ROOT +and sets up all necessary bind mounts. +.Pp +Each user's git directory under +.Ev SKEIN_GIT_ROOT +is mounted on the corresponding +.Pa repos.avail/ +mount point in their cgit home directory. +.It Sy teardown +Deletes +.Pa /dev/null +and all existing bind mounts under +.Ev SKEIN_CGIT_ROOT . +.El +.Sh ENVIRONMENT +.Bl -tag -width Ds +.It Ev SKEIN_CGIT_ROOT +The +.Xr skein 7 +cgit infrastructure. +Defaults to +.Pa /srv/cgit . +.It Ev SKEIN_GIT_ROOT +The +.Xr skein 7 +repository infrastructure. +Defaults to +.Pa /srv/git . +.El +.Sh SEE ALSO +.Xr skein 7 , +.Xr mount 8 -- cgit v1.2.3-2-gb3c3