[packages/docker] ensure group writable logfile

glen glen at pld-linux.org
Mon Feb 15 23:16:13 CET 2016


commit 738e5f2017a98a5d2d822310cd68413b09661bd1
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Tue Feb 16 00:16:09 2016 +0200

    ensure group writable logfile

 docker.init | 3 +++
 1 file changed, 3 insertions(+)
---
diff --git a/docker.init b/docker.init
index 3a77c1f..7f0df28 100755
--- a/docker.init
+++ b/docker.init
@@ -47,6 +47,9 @@ start() {
 
 	msg_starting "Docker"
 
+	touch "$DOCKER_LOGFILE"
+	chgrp docker "$DOCKER_LOGFILE"
+
 	export DOCKER_LOGFILE
 	daemon \
 		--fork --pidfile $pidfile --waitfortime 60 \
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/docker.git/commitdiff/738e5f2017a98a5d2d822310cd68413b09661bd1



More information about the pld-cvs-commit mailing list