DirectAdmin can Build Redis
The redis configuration file will be placed at
/usr/local/directadmin/data/templates/redis.conf
This redis.conf file will be copied to each user, who's hosting package has Redis feature enabled.
The user's redis configuration file location is
/usr/local/directadmin/data/users/{username}/redis.conf
Any modifications will be overwritten on future updates !
To avoid overwritten we can create a custom redis.conf file in the custom folder
/usr/local/directadmin/data/templates/custom/redis.conf
So, any future overwritten, our custom redis.conf will be written to the updated file
First copy the original file to custom folder
cp /usr/local/directadmin/data/templates/redis.conf /usr/local/directadmin/data/templates/custom/redis.conf
Finally, customize the redis.conf to your needs:
nano /usr/local/directadmin/data/templates/custom/redis.conf
nano /usr/local/directadmin/data/users/{username}/redis.conf
Configuration such as:
protected-mode yes
tcp-backlog 511
timeout 0
tcp-keepalive 300
daemonize no
loglevel verbose
Post a Comment
Post a Comment