On Sat, Mar 1, 2014 at 2:46 PM, Colin Walters <walters@verbum.org> wrote:<br>
<blockquote type="cite"><div><br></div><div>RuntimeDirectory=/run/mydaemon</div><div>PersistentStateDirectory=/var/lib/mydaemon</div></blockquote><br><div>Btw, see also this thread:</div><div><br></div><div><a href="https://lists.fedoraproject.org/pipermail/server/2014-February/000843.html">https://lists.fedoraproject.org/pipermail/server/2014-February/000843.html</a></div><div><br></div><div>Putting these together (and how about we just go ahead and mandate /run and /var/lib), we could have something like:</div><div><br></div><div>RuntimeDirectory=yes</div><div><br></div><div>That would auto-instantiate /run/$SYSTEMD_UNIT_NAME.</div><div><br></div><div>Similarly,</div><div>PersistentStateDirectory=yes</div><div>would give you /var/lib/$SYSTEMD_UNIT_NAME</div><div><br></div><div>Notably, this would help administrators move away from the package being the central naming unit and more towards systemd being the basis for names.  </div><div><br></div><div>(It is confusing that one has to deal with package names, systemd unit names, and process names, which can all be the same, closely related, or wildly different)</div><div><br></div>