title: Must my pidfile be located in /var/run?
body: <p>I'm asking in both contexts: technically and stylistically.  </p>
  
  <p>Can my application/daemon keep a pidfile in <code>/opt/my_app/run/</code>?</p>
  
  <p>Is it very bad to do so?</p>
  
  <p>My need is this: my daemon runs under a specific user, and the implementor must mkdir a new directory in <code>/var/run</code>, chown, and chgrp it to make my daemon run.  Seems easier to just keep the pidfile local (to the daemon).</p>