title: How do you shutdown Redis on Mac OS X?
body: <p>Just exactly how <em>do</em> you shutdown Redis on a Mac OS X server?</p>
  
  <p>I tried doing it via the CLI but this doesn't work:</p>
  
  <pre><code>$ redis-cli
  127.0.0.1:6379&gt; shutdown
  not connected&gt; quit
  </code></pre>
  
  <p>I also tried executing the redis-cli command using "sudo" but that didn't make a difference.</p>
  
  <p>I tried killing the process but it just restarts itself with a new PID:</p>
  
  <pre><code>$ sudo kill -9 &lt;pid&gt;
  </code></pre>
  
  <p>I've checked the "requirepass" setting in /usr/local/etc/redis.conf but no password is being set.</p>
  
  <p>I also checked <a href="https://stackoverflow.com/questions/16138872/shuting-down-redis">this question</a>, <a href="https://stackoverflow.com/questions/15088053/stop-redis-server-neither-shutdown-nor-stop-works">this</a>, and <a href="https://stackoverflow.com/questions/15088053/stop-redis-server-neither-shutdown-nor-stop-works">this</a> but none of them yielded a solution.  You'd think the Redis documentation would tell how to do this.  Very frustrating.</p>
  
  <p>Thanks.</p>