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 service with empty ExecStart and
put your call to systemd-tmpfiles into ExecStop (or probablyl ExecStopPost).
_______________________________________________
systemd-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/systemd-devel

Reply via email to