]> git.pld-linux.org Git - packages/docker.git/commitdiff
ensure group writable logfile
authorElan Ruusamäe <glen@delfi.ee>
Mon, 15 Feb 2016 22:16:09 +0000 (00:16 +0200)
committerElan Ruusamäe <glen@delfi.ee>
Mon, 15 Feb 2016 22:16:09 +0000 (00:16 +0200)
docker.init

index 3a77c1f7b7b78b28f2245a42bbcbcf1af7c9fb2d..7f0df2883f5d7ea30a174e72a8a7bfa1398dac18 100755 (executable)
@@ -47,6 +47,9 @@ start() {
 
        msg_starting "Docker"
 
+       touch "$DOCKER_LOGFILE"
+       chgrp docker "$DOCKER_LOGFILE"
+
        export DOCKER_LOGFILE
        daemon \
                --fork --pidfile $pidfile --waitfortime 60 \
This page took 0.084762 seconds and 4 git commands to generate.