|
|
|
|
18
|
Configuration
|
18
|
Configuration
|
19
|
-------------
|
19
|
-------------
|
20
|
|
20
|
|
21
|
-Configuration must be copied from `/usr/local/etc/sitegen` to `/etc/sitegen`:
|
|
|
|
|
21
|
+Configuration should have been copied from `/usr/local/etc/sitegen` to `/etc/sitegen` at install time.
|
22
|
|
22
|
|
23
|
sitegen.json looks like:
|
23
|
sitegen.json looks like:
|
24
|
```
|
24
|
```
|
|
|
|
|
88
|
- Certificate: Cert hooks are triggered when creating a site using the --site-create flag. Hooks are executed once per site, before and after creation.
|
88
|
- Certificate: Cert hooks are triggered when creating a site using the --site-create flag. Hooks are executed once per site, before and after creation.
|
89
|
- Site: Site hooks are triggered when requesting/renewing a certificate using the flags --cert-request and --cert-renew. Hooks are executed once per certificate, before and after request/renew.
|
89
|
- Site: Site hooks are triggered when requesting/renewing a certificate using the flags --cert-request and --cert-renew. Hooks are executed once per certificate, before and after request/renew.
|
90
|
|
90
|
|
91
|
-Hooks must be enabled/disabled using `--hook-enable` and `--hook-disable` arguments.
|
|
|
|
|
91
|
+Hooks must be enabled/disabled using `--hook-enable` and `--hook-disable` arguments. By default, all hooks should be enabled.
|
92
|
|
92
|
|
93
|
Some hooks are provided:
|
93
|
Some hooks are provided:
|
94
|
- Certificates
|
94
|
- Certificates
|