aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2017-11-28 23:31:48 +0100
committerLudovic Courtès <ludo@gnu.org>2017-11-28 23:34:25 +0100
commit3af03e5967cf49ed1a4382dad7d75daa95ec5217 (patch)
treec85402ea1f5e8ec3367959942151162a285927b9
parenta222b734b38f93b014b21e4d538002a5fec71b8a (diff)
downloadguix-3af03e5967cf49ed1a4382dad7d75daa95ec5217.tar.gz
guix-3af03e5967cf49ed1a4382dad7d75daa95ec5217.zip
services: certbot: Add default value and description.
* gnu/services/certbot.scm (certbot-service-type) [default-value, description]: New fields. * po/packages/POTFILES.in: Add it.
-rw-r--r--gnu/services/certbot.scm7
-rw-r--r--po/packages/POTFILES.in1
2 files changed, 7 insertions, 1 deletions
diff --git a/gnu/services/certbot.scm b/gnu/services/certbot.scm
index c11c9a66bd..dc072ea8da 100644
--- a/gnu/services/certbot.scm
+++ b/gnu/services/certbot.scm
@@ -125,4 +125,9 @@
(certbot-configuration
(inherit config)
(hosts (append (certbot-configuration-hosts config)
- additional-hosts)))))))
+ additional-hosts)))))
+ (default-value (certbot-configuration))
+ (description
+ "Automatically renew @url{https://letsencrypt.org, Let's
+Encrypt} HTTPS certificates by adjusting the nginx web server configuration
+and periodically invoking @command{certbot}.")))
diff --git a/po/packages/POTFILES.in b/po/packages/POTFILES.in
index 83a13c1dab..9a178edfa6 100644
--- a/po/packages/POTFILES.in
+++ b/po/packages/POTFILES.in
@@ -58,5 +58,6 @@ gnu/packages/web.scm
gnu/packages/wordnet.scm
gnu/packages/xiph.scm
gnu/services/base.scm
+gnu/services/certbot.scm
gnu/services/networking.scm
gnu/services/version-control.scm