From 4336b0b4e9864bf711645457d4c90f701738c584 Mon Sep 17 00:00:00 2001 From: Irae Hueck Costa Date: Sun, 31 Mar 2024 20:43:24 +0000 Subject: [PATCH] Fix make redis-server --- Makefile | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 956f3315..b5de2295 100644 --- a/Makefile +++ b/Makefile @@ -58,8 +58,13 @@ deploy: .PHONY: redis-server redis-server: + plash cached pull:lxc alpine:$(alpineversion) + plash noid cached create apk add redis + + ssh root@counter redis-cli save scp root@counter:/var/lib/redis/dump.rdb /tmp/webstats-production.rdb - plash --from alpine:$(alpineversion) --apk redis -- redis-server --dbfilename webstats-production.rdb --dir /tmp + + plash noid run redis-server --dbfilename webstats-production.rdb --dir /tmp .PHONY: log log: