From 78b10da3fc88c5ddf46b68d3dd3ac9b62fdf2cb6 Mon Sep 17 00:00:00 2001
From: CentOS Sources <bugs@centos.org>
Date: Thu, 30 Nov 2017 18:48:18 +0000
Subject: [PATCH] debrand docker-1.12.6-68.gitec8512b.el7

---
 SOURCES/docker-cleanup.service |   11 +++++++++++
 1 files changed, 11 insertions(+), 0 deletions(-)

diff --git a/SOURCES/docker-cleanup.service b/SOURCES/docker-cleanup.service
new file mode 100644
index 0000000..3f60331
--- /dev/null
+++ b/SOURCES/docker-cleanup.service
@@ -0,0 +1,11 @@
+[Unit]
+Description=Docker Cleanup
+Requires=docker.service
+
+
+[Service]
+Type=oneshot
+ExecStart=/usr/bin/sh -c "DEAD=`docker ps -aq -f status=dead` && [ -n \"$DEAD\" ] && docker rm $DEAD; exit 0"
+
+[Install]
+WantedBy=multi-user.target

--
Gitblit v1.8.0