mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: mumi: Update to 0.9.0.
* gnu/packages/mail.scm (mumi): Update to 0.9.0. * gnu/services/web.scm (mumi-config-file): Write mailer-enabled? field. (mumi-shepherd-services): Remove --disable-mailer argument.
This commit is contained in:
parent
98f2990691
commit
85b0321908
2 changed files with 6 additions and 6 deletions
|
@ -2059,14 +2059,15 @@ WSGIPassAuthorization On
|
|||
|
||||
(define mumi-config-file
|
||||
(match-record-lambda <mumi-configuration>
|
||||
(file-tags)
|
||||
(mailer? file-tags)
|
||||
(computed-file "mumi.conf"
|
||||
#~(begin
|
||||
(use-modules (srfi srfi-26))
|
||||
|
||||
(call-with-output-file #$output
|
||||
(cut write
|
||||
'((file-tags . #$file-tags))
|
||||
'((mailer-enabled? . #$mailer?)
|
||||
(file-tags . #$file-tags))
|
||||
<>))))))
|
||||
|
||||
(define (mumi-shepherd-services config)
|
||||
|
@ -2085,8 +2086,7 @@ WSGIPassAuthorization On
|
|||
(start #~(make-forkexec-constructor
|
||||
`(#$(file-append mumi "/bin/mumi") "web"
|
||||
,(string-append "--config="
|
||||
#$(mumi-config-file config))
|
||||
,@(if #$mailer? '() '("--disable-mailer")))
|
||||
#$(mumi-config-file config)))
|
||||
#:environment-variables #$environment
|
||||
#:user "mumi" #:group "mumi"
|
||||
#:log-file #$%mumi-log))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue