services/web: Add missing ungexp for mumi shepherd services.

This is a follow-up to commit f00f52a1fb.

* gnu/services/web.scm (mumi-shepherd-services): Ungexp variables.
This commit is contained in:
Ricardo Wurmus 2020-04-06 09:44:04 +02:00
parent 6ef1fc8da3
commit 0e8564f8f0
No known key found for this signature in database
GPG key ID: 197A5888235FACAC

View file

@ -1727,7 +1727,7 @@ (define (mumi-shepherd-services config)
(requirement '(networking))
(start #~(make-forkexec-constructor
`(#$(file-append mumi "/bin/mumi") "web"
,@(if mailer? '() '("--disable-mailer")))
,@(if #$mailer? '() '("--disable-mailer")))
#:user "mumi" #:group "mumi"
#:log-file "/var/log/mumi.log"))
(stop #~(make-kill-destructor)))
@ -1746,11 +1746,11 @@ (define (mumi-shepherd-services config)
(requirement '(networking))
(start #~(make-forkexec-constructor
`(#$(file-append mumi "/bin/mumi") "mailer"
,@(if sender
(list (string-append "--sender=" sender))
,@(if #$sender
(list (string-append "--sender=" #$sender))
'())
,@(if smtp
(list (string-append "--smtp=" smtp))
,@(if #$smtp
(list (string-append "--smtp=" #$smtp))
'()))
#:user "mumi" #:group "mumi"
#:log-file "/var/log/mumi.mailer.log"))