Issue 331 - Fix failing redis persistence (#369)

* #331 Redis was not reading the config file

* #113 Don't create recursive symlink in the storage directory
This commit is contained in:
Don Benjamin 2024-04-08 13:19:49 +01:00 committed by GitHub
parent a7517252c1
commit a854113901
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View File

@ -17,7 +17,7 @@ touch /var/log/opnform.log
chown opnform /var/log/opnform.log chown opnform /var/log/opnform.log
echo "Linking persistent storage into app" echo "Linking persistent storage into app"
ln -sf /persist/storage /app/storage ln -t /app -sf /persist/storage
. /app/.env . /app/.env

View File

@ -4,4 +4,4 @@ sysctl vm.overcommit_memory=1
mkdir -p /persist/redis/data mkdir -p /persist/redis/data
chown redis -R /persist/redis/data chown redis -R /persist/redis/data
sudo -u redis /usr/bin/redis-server sudo -u redis /usr/bin/redis-server /etc/redis/redis.conf