Skip to content

Commit

Permalink
Issue 331 - Fix failing redis persistence (#369)
Browse files Browse the repository at this point in the history
* #331 Redis was not reading the config file

* #113 Don't create recursive symlink in the storage directory
  • Loading branch information
donuk authored Apr 8, 2024
1 parent a751725 commit a854113
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docker/php-fpm-wrapper.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ touch /var/log/opnform.log
chown opnform /var/log/opnform.log

echo "Linking persistent storage into app"
ln -sf /persist/storage /app/storage
ln -t /app -sf /persist/storage

. /app/.env

Expand Down
2 changes: 1 addition & 1 deletion docker/redis-wrapper.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ sysctl vm.overcommit_memory=1
mkdir -p /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

0 comments on commit a854113

Please sign in to comment.