Skip to content

Commit

Permalink
Fix make redis-server
Browse files Browse the repository at this point in the history
  • Loading branch information
Irae Hueck Costa committed Mar 31, 2024
1 parent 56e42f7 commit 4336b0b
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 4336b0b

Please sign in to comment.