summaryrefslogtreecommitdiff
path: root/README
blob: eb4aba2d46b14c9c37729e6abe7af1f7b714c12b (plain)
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
These are the scripts that power the server at hhvn.uk

Make*.rc:
	These scripts automatically populate/depopulate a bin/ directory,
	essentially managing the existence of any scripts from this repo in $PATH

dkim:
	These scripts are resposible for Domain Key management.
	- lscert:         lists existing DKIM keypais
	- mkcert:         generates new DKIM keypairs
	- rmcert:         removes a DKIM keypair
	- purge:          automatically removes old DKIM keypairs
	- reconfig-dns:   adds a DKIM keypair to a DNS zone file
	- reconfig-smtpd: reconfigures the smtpd.conf filters to use a DKIM keypair
	- update:         automatically calls other scripts to generate, purge, and reconfig

dns/zone:
	These scripts make DNS zone editing simpler
	- edit:   attempts to find a zone and calls $EDITOR
	- reload: attempts to find, and reload a zone, but checking it over first

tls:
	These scripts make acme-client easier to access
	- edit: calls $EDITOR on acme-client.conf
	- run:  guesses domain and runs acme-client

www/chroot:
	These scripts manage / exist in the /var/www chroot
	- mkchroot:    copies binaries + libraries to /var/www
	- git-wrapper: wraps around git for CGI access

www/generate/src:
	These scripts generate content in /var/www/htdocs/src.hhvn.uk
	- gomod:  generates go.mod glue code
	- stagit: calls stagit

repo:
	These scrips manage /var/git
	- mkrepo:  initializes a new repository and returns `git origin` commands
	- mkhooks: intalls hooks into all repos in /var/git

repo/hooks:
	These scripts are installed by repo/mkhooks
	- post-receive: calls www/generate/src/*