summaryrefslogtreecommitdiff
path: root/README
blob: 4e248b39a61e7fc3e126780973c6c5d4a4b68ac1 (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
45
46
47
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:
	These scripts generate html files
	- generate-gomod: generates go.mod glue code in go.hhvn.uk (virtual)

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/*

inetd:
	These scripts can be added to /etc/inetd.conf
	- identd-spoof: an identd that always returns a spoofed user