diff options
| author | EuAndreh <eu@euandre.org> | 2020-11-30 20:03:35 -0300 |
|---|---|---|
| committer | EuAndreh <eu@euandre.org> | 2020-11-30 20:03:35 -0300 |
| commit | 8546b830ea6a674b914c2ecd7019fb158defa909 (patch) | |
| tree | 4259f2c498a1e3fb9bb10638c60bfc393eba2eed /sync | |
| parent | vps.scm: s/generate-ci-index-html/generate-logs-html/ (diff) | |
| download | server-8546b830ea6a674b914c2ecd7019fb158defa909.tar.gz server-8546b830ea6a674b914c2ecd7019fb158defa909.tar.xz | |
vps.scm: Use #; over ; comments
Diffstat (limited to 'sync')
| -rw-r--r-- | sync/vps.scm | 54 |
1 files changed, 28 insertions, 26 deletions
diff --git a/sync/vps.scm b/sync/vps.scm index 25aef3d..b850a39 100644 --- a/sync/vps.scm +++ b/sync/vps.scm @@ -331,27 +331,30 @@ pki " mail-domain " key \"" (tls-priv-for mail-domain) "\""))) ("webmaster" "root") ("abuse" "root") (,certbot-alias "root"))) - ;; (service nginx-service-type - ;; (nginx-configuration - ;; (server-blocks - ;; (list - ;; (nginx-server-configuration - ;; (server-name (list tld)) - ;; (ssl-certificate (tls-pub-for tld)) - ;; (ssl-certificate-key (tls-priv-for tld))))))) - ;; (service certbot-service-type - ;; (certbot-configuration - ;; (email (string-append certbot-alias "@" tld)) - ;; (certificates - ;; (list - ;; (certificate-configuration - ;; (domains tls-domains)))))) + #; + (service nginx-service-type + (nginx-configuration + (server-blocks + (list + (nginx-server-configuration + (server-name (list tld)) + (ssl-certificate (tls-pub-for tld)) + (ssl-certificate-key (tls-priv-for tld))))))) + #; + (service certbot-service-type + (certbot-configuration + (email (string-append certbot-alias "@" tld)) + (certificates + (list + (certificate-configuration + (domains tls-domains)))))) (simple-service 'automatic-certbot-renewal activation-service-type (with-imported-modules '((gnu services herd)) #~(begin (use-modules (gnu services herd)) - ;; (execl "/var/lib/certbot/renew-certificates") + #; + (execl "/var/lib/certbot/renew-certificates") (restart-service 'nginx)))) (service cgit-service-type (cgit-configuration @@ -372,17 +375,16 @@ pki " mail-domain " key \"" (tls-priv-for mail-domain) "\""))) (max-repodesc-length 120) (max-stats "year") (nocache? #t) + #; (readme "README.md") - ;() - ;; (repositories - ;; (list - ;; (repository-cgit-configuration - ;; )) - ;; ) - ;; (map (lambda (f) - ;; (repository-cgit-configuration (readme f))) - ;; '("README.md" "README" "README.rst" "README.org")) - )) + #; + (repositories + (list + (repository-cgit-configuration))) + #; + (map (lambda (f) + (repository-cgit-configuration (readme f))) + '("README.md" "README" "README.rst" "README.org")))) (simple-service 'init-srv-directories activation-service-type #~(begin |
