diff --git a/gnu/services/web.scm b/gnu/services/web.scm index 2b482fcec7..9ae84ddbc4 100644 --- a/gnu/services/web.scm +++ b/gnu/services/web.scm @@ -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"))