diff options
author | Wojtek Kosior <koszko@koszko.org> | 2024-03-18 22:26:41 +0100 |
---|---|---|
committer | W. Kosior <koszko@koszko.org> | 2024-09-04 21:02:06 +0200 |
commit | 12e502debddd42e7f16e46dad676c86502ca3852 (patch) | |
tree | e732f4d496d8fa2b117c86f87c0bd3c21c6ce415 /gnu/machine | |
parent | 5019bebdbef4b94ae7c92c631677983bccf602d0 (diff) | |
download | guix-12e502debddd42e7f16e46dad676c86502ca3852.tar.gz guix-12e502debddd42e7f16e46dad676c86502ca3852.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 'gnu/machine')
0 files changed, 0 insertions, 0 deletions