summaryrefslogtreecommitdiff
path: root/system/docker
diff options
context:
space:
mode:
authorWilly Sudiarto Raharjo <willysr@slackbuilds.org>2017-05-20 15:02:31 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2017-05-27 07:29:22 +0700
commitebd90f22dc6bcbb7d7728422b5962dfad3a737f2 (patch)
tree3a39180f0e6b723763e102a7802e55e1aab2ba7f /system/docker
parent8494a72c57f4b03ab2b27ec9da531d561fa7d657 (diff)
downloadslackbuilds-ebd90f22dc6bcbb7d7728422b5962dfad3a737f2.tar.gz
system/docker: Disable rc script by default, update README.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system/docker')
-rw-r--r--system/docker/README2
-rw-r--r--system/docker/docker.SlackBuild2
2 files changed, 2 insertions, 2 deletions
diff --git a/system/docker/README b/system/docker/README
index 7ffe7695f8..8fd5996888 100644
--- a/system/docker/README
+++ b/system/docker/README
@@ -9,7 +9,7 @@ To use docker as a limited user, add your user to the 'docker' group:
# groupadd -r -g 281 docker
# usermod -a -G docker <your_username>
-This will require logging out and back in.
+This will require logging out and back in and also restart docker daemon.
To have the docker daemon start and stop with your host,
add to /etc/rc.d/rc.local:
diff --git a/system/docker/docker.SlackBuild b/system/docker/docker.SlackBuild
index 3d82844c97..19cb2acf1b 100644
--- a/system/docker/docker.SlackBuild
+++ b/system/docker/docker.SlackBuild
@@ -83,7 +83,7 @@ install -D -m 0644 contrib/completion/fish/docker.fish $PKG/usr/share/fish/vendo
install -D -m 0644 $CWD/config/docker.default $PKG/etc/default/docker.new
install -D -m 0644 $CWD/config/docker.logrotate $PKG/etc/logrotate.d/docker.new
-install -D -m 0755 $CWD/config/rc.docker $PKG/etc/rc.d/rc.docker.new
+install -D -m 0644 $CWD/config/rc.docker $PKG/etc/rc.d/rc.docker.new
# Install udev rules.
install -D -m 0644 contrib/udev/80-docker.rules $PKG/lib/udev/rules.d/80-docker.rules