On Fri, Mar 29, 2019 at 6:12 PM Thorsten Glaser <[email protected]> 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
_______________________________________________ Pkg-systemd-maintainers mailing list [email protected] https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-systemd-maintainers
