LogsDirectory vs. group adm
Felipe Sateler
fsateler at debian.org
Fri Mar 29 21:19:06 GMT 2019
On Fri, Mar 29, 2019 at 6:12 PM Thorsten Glaser <t.glaser at tarent.de> wrote:
> Hi Felipe,
>
> > > 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):
>
> thanks!
>
Glad to help.
>
> > In fact, /var/log is already tmpfile'd with a similar entry:
>
> OK. I don’t run systemd, so I didn’t know and needed this info,
> as I had just fixed this for sysvinit-based systems in tomcat9,
> and found the LogsDirectory stuff in the systemd service file,
> which I’m currently transferring into an init script.
>
It might be a good idea to store that script somewhere else (possibly
/usr/lib/tomcat9 ?) and call it from the init script. As the script gets
more complex, the chance of a conffile conflict increases, as the
probability of needed modification either by the admin or the maintainer
increases.
--
Saludos,
Felipe Sateler
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-systemd-maintainers/attachments/20190329/eddbd03f/attachment-0001.html>
More information about the Pkg-systemd-maintainers
mailing list