services: getmail: Fix stopping the shepherd service.

* gnu/services/getmail.scm (getmail-shepherd-services): Add a stop component
to the shepherd services.
This commit is contained in:
Christopher Baines 2020-01-20 19:01:23 +00:00
parent 19b310901c
commit 147a7f1fd2
No known key found for this signature in database
GPG key ID: 5E28A33B0B84F577

View file

@ -360,7 +360,8 @@ (define (getmail-shepherd-services configs)
(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