Re-create cache dir after destroying (#1263)
Cache dir should always exist, so after deleting it, it must be recreated. This is done in `make init-dirs`, but if gets destroyed here, it won't auto-recreate.
This commit is contained in:
parent
aaa68048d9
commit
5fb15d5c31
1
Makefile
1
Makefile
@ -287,6 +287,7 @@ destroy-db:
|
|||||||
$(DOCKER_COMPOSE) rm -fv
|
$(DOCKER_COMPOSE) rm -fv
|
||||||
docker volume ls -q -f "name=^$(DC_PROJECT)_" | $(XARGS) docker volume rm
|
docker volume ls -q -f "name=^$(DC_PROJECT)_" | $(XARGS) docker volume rm
|
||||||
rm -rf cache
|
rm -rf cache
|
||||||
|
mkdir cache
|
||||||
|
|
||||||
.PHONY: start-db-nowait
|
.PHONY: start-db-nowait
|
||||||
start-db-nowait: init-dirs
|
start-db-nowait: init-dirs
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user