On Fri, Mar 29, 2019 at 5:17 PM Thorsten Glaser <t.gla...@tarent.de> wrote:
> Hi Felipe, > > > You can ship a tmpfiles snippet like: > > > > d /var/log/tomcat9 2750 root adm - > > This won’t delete the logs on shutdown or something, because > it’s called tmpfiles? > No, because we don't provide the last argument (the age one): > Create a directory. The mode and ownership will be adjusted > if specified. Contents of this directory are subject to time based > cleanup if the age argument is specified. https://manpages.debian.org/unstable/systemd/tmpfiles.d.5.en.html#Type In fact, /var/log is already tmpfile'd with a similar entry: d /var/log 0755 - - - -- Saludos, Felipe Sateler