title: Stop postgreSQL service on Mac via terminal
body: <p>Running postgreSQL 9.4.5_2 currently </p>
  
  <p>I have tried </p>
  
  <pre><code>pg_ctl stop -W -t 1 -s -D /usr/local/var/postgres -m f
  </code></pre>
  
  <p>Normally no news is good news but after I will run </p>
  
  <pre><code>pg_ctl status -D /usr/local/var/postgres 
  </code></pre>
  
  <p>and get <code>pg_ctl: server is running (PID: 536)</code></p>
  
  <p>I have also tried </p>
  
  <pre><code>pg_ctl restart -w -D /usr/local/var/postgres -c -m i
  </code></pre>
  
  <p>Response message is: </p>
  
  <pre><code>waiting for server to shut down.......................... failed
  pg_ctl: server does not shut down
  </code></pre>
  
  <p>I've also checked my /Library/LaunchDaemons/ to see why the service is starting at login but no luck so far. Anyone have any ideas on where I should check next? Force quit in the activity monitor also isn't helping me any. </p>