Revert "Switch from Redis to KeyDB locally."

This reverts commit 6632b515c6.
This commit is contained in:
Buster Neece 2024-03-26 12:40:02 -05:00
parent 28e5faa7e4
commit 89c7e3663b
No known key found for this signature in database
4 changed files with 14 additions and 19 deletions

View File

@ -48,7 +48,7 @@ mkdir -p /etc/my_init.d
# Install other common scripts.
apt-get install -y --no-install-recommends \
lsb-release tini gosu curl wget tar zip unzip xz-utils git rsync tzdata gnupg gpg-agent openssh-client
tini gosu curl wget tar zip unzip xz-utils git rsync tzdata gnupg gpg-agent openssh-client
# Add scripts
cp -rT /bd_build/scripts/ /usr/local/bin

View File

@ -1,6 +1,6 @@
[program:redis]
command=keydb-server /etc/redis/redis.conf
user=keydb
command=redis-server /etc/redis/redis.conf
user=redis
priority=100
numprocs=1
autostart=true

View File

@ -1,16 +0,0 @@
#!/bin/bash
set -e
set -x
echo "deb https://download.keydb.dev/open-source-dist $(lsb_release -sc) main" | tee /etc/apt/sources.list.d/keydb.list
wget -O /etc/apt/trusted.gpg.d/keydb.gpg https://download.keydb.dev/open-source-dist/keyring.gpg
apt-get update
apt-get install -y --no-install-recommends keydb-tools
mkdir -p /etc/redis
chown -R keydb:keydb /etc/redis
cp /bd_build/redis/redis/redis.conf /etc/redis/redis.conf
mkdir -p /run/redis
chown keydb:keydb /run/redis

View File

@ -0,0 +1,11 @@
#!/bin/bash
set -e
set -x
apt-get install -y --no-install-recommends redis-server
cp /bd_build/redis/redis/redis.conf /etc/redis/redis.conf
chown redis:redis /etc/redis/redis.conf
mkdir -p /run/redis
chown redis:redis /run/redis