Set working directory for redis-server to /var/lib/redis

This commit changes the working directory used for the redis-server
process from /etc/redis, which the redis user does not have write access
to, to /var/lib/redis, which is writable by the redis user.
pull/4/head
Jeremy Barlow 2018-04-10 13:28:58 -07:00
parent 0bcf0d9ac3
commit 58933d4547
1 changed files with 1 additions and 1 deletions

View File

@ -19,7 +19,7 @@ command=/usr/bin/mysqld_safe
[program:redis-server]
process_name = redis-server
directory = /etc/redis
directory = /var/lib/redis
command=/usr/bin/redis-server /etc/redis/redis.conf
user=redis