Blame SOURCES/docker-cleanup.service

478cdc
[Unit]
478cdc
Description=Docker Cleanup
037cc3
Requires=docker.service
478cdc
478cdc
478cdc
[Service]
478cdc
Type=oneshot
478cdc
ExecStart=/usr/bin/sh -c "DEAD=`docker ps -aq -f status=dead` && [ -n \"$DEAD\" ] && docker rm $DEAD; exit 0"
037cc3
037cc3
[Install]
037cc3
WantedBy=multi-user.target