guix-commits
[Top][All Lists]
Advanced

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

02/02: services: web: Log the output of GWL service.


From: Ludovic Courtès
Subject: 02/02: services: web: Log the output of GWL service.
Date: Thu, 26 Sep 2019 12:50:25 -0400 (EDT)

civodul pushed a commit to branch master
in repository maintenance.

commit 8e7e08721c5289e94cc0e6effead68c4c18393c6
Author: Ludovic Courtès <address@hidden>
Date:   Thu Sep 26 18:47:19 2019 +0200

    services: web: Log the output of GWL service.
    
    * hydra/modules/sysadmin/web.scm (gwl-web-shepherd-service): Pass
     #:log-file to 'make-forkexec-constructor/container'.  Fix
    'documentation'.
---
 hydra/modules/sysadmin/web.scm | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/hydra/modules/sysadmin/web.scm b/hydra/modules/sysadmin/web.scm
index 9928936..56ed30c 100644
--- a/hydra/modules/sysadmin/web.scm
+++ b/hydra/modules/sysadmin/web.scm
@@ -263,13 +263,14 @@ gwl/static/images/logo.png ")))))
     (list (shepherd-service
            (provision '(gwl-web))
            (requirement '(user-processes networking))
-           (documentation "Run the dicod daemon.")
+           (documentation "Run Guix Workflow Language web server.")
            (modules '((gnu build shepherd)
                       (gnu system file-systems)))
            (start #~(make-forkexec-constructor/container
                      (list #$wrapped-guix "workflow" "--web-interface")
                      #:user "gwl-web"
-                     #:group "gwl-web"))
+                     #:group "gwl-web"
+                     #:log-file "/var/log/gwl.log"))
            (stop #~(make-kill-destructor))))))
 
 (define %gwl-web-accounts



reply via email to

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