services: docker: Specify log file for containerd.

* gnu/services/docker.scm (containerd-shepherd-service): Specify log file
for containerd.
This commit is contained in:
Danny Milosavljevic 2019-01-10 03:54:28 +01:00
parent 7d8a4eeacc
commit f0bfd0fc21
No known key found for this signature in database
GPG key ID: E71A35542C30BAA5

View file

@ -61,7 +61,8 @@ (define (containerd-shepherd-service config)
(documentation "containerd daemon.") (documentation "containerd daemon.")
(provision '(containerd)) (provision '(containerd))
(start #~(make-forkexec-constructor (start #~(make-forkexec-constructor
(list (string-append #$package "/bin/containerd")))) (list (string-append #$package "/bin/containerd"))
#:log-file "/var/log/containerd.log"))
(stop #~(make-kill-destructor))))) (stop #~(make-kill-destructor)))))
(define (docker-shepherd-service config) (define (docker-shepherd-service config)