guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

branch master updated: services: monitoring: Remove unused procedure.


From: guix-commits
Subject: branch master updated: services: monitoring: Remove unused procedure.
Date: Mon, 07 Feb 2022 12:23:58 -0500

This is an automated email from the git hooks/post-receive script.

mbakke pushed a commit to branch master
in repository guix.

The following commit(s) were added to refs/heads/master by this push:
     new eb2e0e3225 services: monitoring: Remove unused procedure.
eb2e0e3225 is described below

commit eb2e0e32252035111ad31a9a0cb0397fb6e66533
Author: Marius Bakke <marius@gnu.org>
AuthorDate: Mon Feb 7 18:22:41 2022 +0100

    services: monitoring: Remove unused procedure.
    
    This is a follow-up to commit 326e08bf0f55409f040612001f73a2cc4091c159.
    
    * gnu/services/monitoring.scm (zabbix-front-end-nginx-configuration): Remove
    variable.
---
 gnu/services/monitoring.scm | 23 -----------------------
 1 file changed, 23 deletions(-)

diff --git a/gnu/services/monitoring.scm b/gnu/services/monitoring.scm
index fecb60a04f..21ddfc93f4 100644
--- a/gnu/services/monitoring.scm
+++ b/gnu/services/monitoring.scm
@@ -552,29 +552,6 @@ configuration file."))
       ,zabbix-agent-configuration-fields))
    'zabbix-agent-configuration))
 
-(define zabbix-front-end-nginx-configuration
-  (match-lambda
-    (($ <zabbix-front-end-configuration> _ package fastcgi-params)
-     (list
-      (nginx-server-configuration
-       (root #~(string-append #$package:front-end "/share/zabbix/php"))
-       (index '("index.php"))
-       (locations
-        (let ((php-location (nginx-php-location)))
-          (list (nginx-location-configuration
-                 (inherit php-location)
-                 (body
-                  (append (nginx-location-configuration-body php-location)
-                          (list
-                           (format #f "fastcgi_param PHP_VALUE \"~a\";"
-                                   (string-join
-                                    (map (match-lambda
-                                           ((key . value)
-                                            (format #f "~a = ~a~%"
-                                                    key value)))
-                                         fastcgi-params))))))))))
-       (listen '("80")))))))
-
 (define %zabbix-front-end-nginx-configuration
   (nginx-server-configuration
    (root #~(string-append #$zabbix-server:front-end "/share/zabbix/php"))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]