summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDanny Milosavljevic <dannym@scratchpost.org>2019-01-10 03:54:28 +0100
committerDanny Milosavljevic <dannym@scratchpost.org>2019-01-10 03:54:28 +0100
commitf0bfd0fc217a9af44b122f4e3cdf389a74594096 (patch)
tree6e384d6b6199c0091f3f47b012fa6a8ca6a50563
parent7d8a4eeacc534c8742e0b22d855aa73e5ab66b7f (diff)
services: docker: Specify log file for containerd.
* gnu/services/docker.scm (containerd-shepherd-service): Specify log file for containerd.
-rw-r--r--gnu/services/docker.scm3
1 files changed, 2 insertions, 1 deletions
diff --git a/gnu/services/docker.scm b/gnu/services/docker.scm
index 6d270831b3..c88fc342e8 100644
--- a/gnu/services/docker.scm
+++ b/gnu/services/docker.scm
@@ -61,7 +61,8 @@
(documentation "containerd daemon.")
(provision '(containerd))
(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)))))
(define (docker-shepherd-service config)