I installed the guix system on a virtual machine, and changed the
config as documented in the guix manual under 12.9.19 Web Services:

(service certbot-service-type
                    (certbot-configuration
                        (email "[email protected]")
                            (certificates (list (certificate-
configuration
                        (domains '("stream.isengaara.de")) (deploy-hook
%nginx-deploy-hook))))))
                 ;;; nginx testing
                 (service nginx-service-type 
                    (nginx-configuration
                      (server-blocks
                        (list (nginx-server-configuration
                          (server-name '("stream.isengaara.de"))
                            (root "/srv/http/stream.isengaara.de"))))))

Certbot needs running nginx to create a certificate, and nginx wont
start without a certificate. The documentation does not explain how
to solve this circular service dependency.

Reply via email to