Package: redis-server Version: 2.8.17-1+deb8u1 Debian GNU/Linux 8.2 Jessie amd64 distribution
I am use redis-server and after upgrade to Jessie have a small problem with starting redis-server software via systemd. By default at redis.conf path to pid file set /var/run/redis/redis.pid. But redis-server starts with permissions redis:redis and have not permissions to write /var/run directory. For fix it you must set additional options in systemd unit:
--- redis.orig/redis-server.service 2015-06-05 16:12:00.000000000 +0300 +++ redis/redis-server.service 2015-11-02 21:25:25.976182055 +0300 @@ -4,6 +4,8 @@ [Service] Type=forking +PermissionsStartOnly=true +RuntimeDirectory=redis ExecStart=/usr/bin/redis-server /etc/redis/redis.conf ExecStop=/usr/bin/redis-cli shutdown Restart=always