summary refs log tree commit diff
diff options
context:
space:
mode:
authorChristopher Baines <mail@cbaines.net>2020-01-20 19:01:23 +0000
committerChristopher Baines <mail@cbaines.net>2020-01-20 19:01:23 +0000
commit147a7f1fd2c33058600eda17153911cd36cc9c3f (patch)
treec9e5310622b517f78613f57076f3d5c36878d603
parent19b310901c9d798722e6be849e335efc1fee0384 (diff)
downloadguix-147a7f1fd2c33058600eda17153911cd36cc9c3f.tar.gz
services: getmail: Fix stopping the shepherd service.
* gnu/services/getmail.scm (getmail-shepherd-services): Add a stop component
to the shepherd services.
-rw-r--r--gnu/services/getmail.scm3
1 files changed, 2 insertions, 1 deletions
diff --git a/gnu/services/getmail.scm b/gnu/services/getmail.scm
index b3d86cb65c..218e018b05 100644
--- a/gnu/services/getmail.scm
+++ b/gnu/services/getmail.scm
@@ -360,7 +360,8 @@ notifications.  This depends on the server supporting the IDLE extension.")
                      (list #$@environment-variables)
                      #:log-file
                      #$(string-append "/var/log/getmail-"
-                                      (symbol->string name)))))))
+                                      (symbol->string name))))
+           (stop #~(make-kill-destructor)))))
        configs))
 
 (define getmail-service-type