[systemd-devel] [PATCH] fix tmpwatch service and timer installation.
Kay Sievers
kay.sievers at vrfy.org
Tue Sep 21 06:28:37 PDT 2010
On Tue, Sep 21, 2010 at 06:54, Gustavo Sverzut Barbieri
<barbieri at profusion.mobi> wrote:
> ( cd $(DESTDIR)$(systemunitdir)/shutdown.target.wants && \
> - rm -f systemd-update-utmp-shutdown.service && \
> - $(LN_S) ../systemd-update-utmp-shutdown.service )
> + rm -f systemd-update-utmp-shutdown.service \
> + tmpwatch.service && \
We really don't want to run possibly expensive stuff on shutdown. It
needs to be as fast as possible.
The tmpwatch should probably run with idle i/o priority on startup, or
just be delayed a few minutes after the box is up.
Also, we enable it by default in /lib, and therefore the install
section does not do any good and should be removed.
Kay
More information about the systemd-devel
mailing list