From 282547554fc01e37e298b37067b98ebee4e27786 Mon Sep 17 00:00:00 2001 From: Dan Ungureanu Date: Fri, 15 Feb 2019 15:46:32 +0200 Subject: [PATCH] Redis is configured without pidfile. --- templates/redis.template.yml | 9 --------- 1 file changed, 9 deletions(-) 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 -- 2.25.1