blob: 5c7c400fca220f6b403850b905856c054d024e7b (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
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
|