[docker-io] unitfile requires socket file

Lokesh Mandvekar lsm5 at fedoraproject.org
Thu Jun 5 16:32:07 UTC 2014


commit 14156292fee9dfbb35889c1edbcb4960b345181c
Author: Lokesh Mandvekar <lsm5 at redhat.com>
Date:   Thu Jun 5 12:32:08 2014 -0400

    unitfile requires socket file

 docker-io.spec |    5 ++++-
 docker.service |    1 +
 2 files changed, 5 insertions(+), 1 deletions(-)
---
diff --git a/docker-io.spec b/docker-io.spec
index 8774fa6..aaef834 100644
--- a/docker-io.spec
+++ b/docker-io.spec
@@ -10,7 +10,7 @@
 
 Name:           docker-io
 Version:        0.11.1
-Release:        10%{?dist}
+Release:        11%{?dist}
 Summary:        Automates deployment of containerized applications
 License:        ASL 2.0
 Patch1:         upstream-patched-archive-tar.patch
@@ -157,6 +157,9 @@ exit 0
 %{_datadir}/vim/vimfiles/syntax/dockerfile.vim
 
 %changelog
+* Thu Jun 05 2014 Lokesh Mandvekar <lsm5 at redhat.com> - 0.11.1-11
+- unitfile should Require socket file (revert change in release 10)
+
 * Fri May 30 2014 Lokesh Mandvekar <lsm5 at redhat.com> - 0.11.1-10
 - do not require docker.socket in unitfile
 
diff --git a/docker.service b/docker.service
index a7f446a..e2aace1 100644
--- a/docker.service
+++ b/docker.service
@@ -2,6 +2,7 @@
 Description=Docker Application Container Engine
 Documentation=http://docs.docker.io
 After=network.target
+Requires=docker.socket
 
 [Service]
 Type=notify


More information about the scm-commits mailing list