diff options
author | Christopher Baines <mail@cbaines.net> | 2024-12-18 16:46:37 +0000 |
---|---|---|
committer | Christopher Baines <mail@cbaines.net> | 2024-12-18 16:46:37 +0000 |
commit | 46025390907beee34664b3bfe7ef87a31673b7a2 (patch) | |
tree | ed667f3c24cf7fd2d8fd527e950456d59935556f | |
parent | 32c106c93fbe00dd627a8267f0f1ba2318a88233 (diff) | |
download | guix-46025390907beee34664b3bfe7ef87a31673b7a2.tar guix-46025390907beee34664b3bfe7ef87a31673b7a2.tar.gz |
WIP
Change-Id: Ie99e2a9b77c6d7f754dc05eaa28fda34756e3b87
-rw-r--r-- | gnu/services/web.scm | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/gnu/services/web.scm b/gnu/services/web.scm index 289177d1ca..c2d8ebbddf 100644 --- a/gnu/services/web.scm +++ b/gnu/services/web.scm @@ -1891,17 +1891,19 @@ WSGIPassAuthorization On (define (patchwork-django-admin-gexp patchwork settings-module) #~(lambda (_ . command) + (peek "COMMAND" command) (let ((pid (fork+exec-command (cons #$(file-append patchwork "/bin/patchwork-admin") command) #:user "httpd" #:group "httpd" - #:environment + #:environment-variables `("DJANGO_SETTINGS_MODULE=guix.patchwork.settings" ,(string-append "PYTHONPATH=" #$settings-module) ,@(environ))))) - (waitpid pid)))) + (peek "PID" pid) + (peek "WAITPID" (waitpid pid))))) (define (patchwork-django-admin-action patchwork settings-module) (shepherd-action |