From: Dan Ungureanu Date: Fri, 15 Feb 2019 13:46:32 +0000 (+0200) Subject: Redis is configured without pidfile. X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=282547554fc01e37e298b37067b98ebee4e27786;p=discourse_docker.git Redis is configured without pidfile. --- diff --git a/templates/redis.template.yml b/templates/redis.template.yml index 084a489..c69a736 100644 --- a/templates/redis.template.yml +++ b/templates/redis.template.yml @@ -5,15 +5,6 @@ run: contents: | #!/bin/sh exec 2>&1 - - RUNDIR=/var/run/redis - PIDFILE=/var/run/redis/redis-server.pid - - mkdir -p $RUNDIR - touch $PIDFILE - chown -R redis:redis $RUNDIR - chmod 755 $RUNDIR - exec thpoff chpst -u redis -U redis /usr/bin/redis-server /etc/redis/redis.conf - file: path: /etc/service/redis/log/run