From 39fc3004be008adfbdd29e38703834bfbd65fda8 Mon Sep 17 00:00:00 2001 From: Christopher Baines Date: Wed, 2 Aug 2017 10:06:27 +0100 Subject: web: Remove the nginx-service procedure. Now that the service-type has a default value, and configuration record is accessible. * gnu/services/web.scm (nginx-service): Remove procedure. * doc/guix.texi (Web Services): Update and improve NGinx documentation. --- gnu/services/web.scm | 19 ------------------- 1 file changed, 19 deletions(-) (limited to 'gnu/services/web.scm') diff --git a/gnu/services/web.scm b/gnu/services/web.scm index aefae5aedb..18278502e4 100644 --- a/gnu/services/web.scm +++ b/gnu/services/web.scm @@ -328,25 +328,6 @@ of index files." (default-value (nginx-configuration)))) -(define* (nginx-service #:key (nginx nginx) - (log-directory "/var/log/nginx") - (run-directory "/var/run/nginx") - (server-list '()) - (upstream-list '()) - (config-file #f)) - "Return a service that runs NGINX, the nginx web server. - -The nginx daemon loads its runtime configuration from CONFIG-FILE, stores log -files in LOG-DIRECTORY, and stores temporary runtime files in RUN-DIRECTORY." - (service nginx-service-type - (nginx-configuration - (nginx nginx) - (log-directory log-directory) - (run-directory run-directory) - (server-blocks server-list) - (upstream-blocks upstream-list) - (file config-file)))) - (define-record-type* fcgiwrap-configuration make-fcgiwrap-configuration fcgiwrap-configuration? -- cgit v1.2.3