title: Redis "config get dir" returns to "/etc" even if readwite directory is set to "/var/lib/redis"
body: <p>When I execute &quot;CONFIG GET DIR&quot; in redis-cli, it returns &quot;/etc&quot; (see screenshot below):
  <a href="https://i.stack.imgur.com/lwi3q.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/lwi3q.png" alt="enter image description here" /></a></p>
  <p>But in my <code>redis-server.conf</code> and <code>/etc/systemd/system/redis.service</code>, the <code>ReadWriteDirectories</code> was set to <code>/var/lib/redis</code>. Although when I restart it, it now points to <code>/var/lib/redis</code> but after an hour it reverts to <code>/etc</code> again.
  <a href="https://i.stack.imgur.com/7SJwd.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/7SJwd.png" alt="enter image description here" /></a>
  <a href="https://i.stack.imgur.com/J55tG.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/J55tG.png" alt="enter image description here" /></a>
  Any advise on where to look at? Thanks!</p>