[systemd-devel] systemd-tmpfiles for the user instance of systemd
Tomasz Torcz
tomek at pipebreaker.pl
Sat Jul 4 04:23:59 PDT 2015
On Fri, Jul 03, 2015 at 08:31:42PM +0200, Lennart Poettering wrote:
> On Wed, 01.07.15 12:35, Daniel Tihelka (dtihelka at gmail.com) wrote:
>
> > Hello,
> > does anyone have an experience with the use of systemd-tmpfiles for the user
> > instance of systemd.
>
> This is currently not nicely supported. And I am not sure it
> should. Note that much of what tmpfiles supports is only necessary
> for:
>
> - aging (automatic time-based clean-up of files). Doesn't really apply
> to user sessions, since /tmp and /var/tmp are already cleaned up by
> the system instance of tmpfiles
/var and /tmp are not only aged files. I'm using tmpfiles for removing
– files in ~/Downloads/* older than 1 year
– emails in ~/Mail/.spam/cur/* older than 1 month
Out of neccessity I have cleanup configured in system instance for my
specific user only.
--
Tomasz Torcz 72->| 80->|
xmpp: zdzichubg at chrome.pl 72->| 80->|
More information about the systemd-devel
mailing list