diff options
Diffstat (limited to 'community/redis/redis.service')
-rw-r--r-- | community/redis/redis.service | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/community/redis/redis.service b/community/redis/redis.service index 7596b4bda..bb364f749 100644 --- a/community/redis/redis.service +++ b/community/redis/redis.service @@ -4,7 +4,8 @@ After=network.target [Service] Type=forking -PIDFile=/run/redis.pid +User=redis +PIDFile=/run/redis/redis.pid ExecStartPre=/bin/mkdir -p /var/lib/redis ExecStart=/usr/bin/redis-server /etc/redis.conf ExecStop=/usr/bin/redis-cli shutdown |