For my server I set in /usr/lib/systemd/system/redis.service
PrivateTmp=false as for other applications (celery) to find a consistant unix socket: e.g. /tmp/redis.sock
After a recent update the config file got overwritten back to its default setting. How do I make sure that during updates altered config files to not automatically get overwritten as it took me a little while to figure out why my system wasn’t working.