diff options
author | Wojtek Kosior <koszko@koszko.org> | 2024-03-18 22:26:41 +0100 |
---|---|---|
committer | W. Kosior <koszko@koszko.org> | 2024-12-24 09:35:57 +0100 |
commit | 88841cadef596f3c67072f2afbb6adaf2999da11 (patch) | |
tree | dc00e2da36e08b7a65348d62b4413c5560e5b4c7 /nix/.gitignore | |
parent | 38aad7dd6492f589459fdfa97bd7bd71b544ec13 (diff) | |
download | guix-88841cadef596f3c67072f2afbb6adaf2999da11.tar.gz guix-88841cadef596f3c67072f2afbb6adaf2999da11.zip |
services: certbot: Allow it to be used without Nginx.
* gnu/services/certbot.scm (define-module)[#:export]: Add
`certbot-sans-nginx-service-type'.
(certbot-configuration)[service-reload]: Add field.
(certbot-configuration)[service-requirement]: Add field.
(certbot-deploy-hook): Reload requested services rather than hardcoded Nginx.
(certbot-command): Pass services to reload to `certbot-deploy-hook'.
(certbot-renewal-one-shot): Pass depended services to Shepherd as configured
instead of passing hardcoded Nginx.
(certbot-sans-nginx-service-type): New variable.
(certbot-service-type): Avoid code duplication by inheriting from the above
service type.
Change-Id: Ic833f24989bbcdcbbc273f9c8eae4c56992aafa0
Diffstat (limited to 'nix/.gitignore')
0 files changed, 0 insertions, 0 deletions