Re: [systemd-devel] Scheduling emptyings of specific directories

2016-06-03 Thread Lennart Poettering
On Fri, 03.06.16 18:40, Andrei Borzenkov ([email protected]) wrote: > 03.06.2016 16:06, One Infinite Loop пишет: > > It would be great if I could empty directories (creating a .conf file > > in /etc/tmpfiles.d) but not at boot time, but before shutting > > down/rebooting the pc. I am using syste

Re: [systemd-devel] Scheduling emptyings of specific directories

2016-06-03 Thread Andrei Borzenkov
03.06.2016 16:06, One Infinite Loop пишет: > It would be great if I could empty directories (creating a .conf file > in /etc/tmpfiles.d) but not at boot time, but before shutting > down/rebooting the pc. I am using systemd 229. Thanks in advance. > > Just create a oneshot, RemainAfterExit servic

[systemd-devel] Scheduling emptyings of specific directories

2016-06-03 Thread One Infinite Loop
It would be great if I could empty directories (creating a .conf file in /etc/tmpfiles.d) but not at boot time, but before shutting down/rebooting the pc. I am using systemd 229. Thanks in advance. ___ systemd-devel mailing list [email protected]