[arch-general] How to disable systemd-tmpfiles-clean.timer
lisaev at umail.iu.edu
Thu May 8 14:23:40 EDT 2014
On Thu, 08 May 2014 02:43:57 -0400
Olivier Langlois <olivier at olivierlanglois.net> wrote:
> Since a recent update (I have first noticed a couple of weeks ago this
> new systemd enhancement), systemd started to automatically clean /tmp
> directory daily. This is not something that I like as I prefer to decide
> when to clean up and to manually perform the clean up.
> I have tried
> systemctl stop systemd-tmpfiles-clean.timer
> systemctl disable systemd-tmpfiles-clean.timer
> The disabling apparently did not survived a reboot and the undesired
> systemd service came back.
> I guess that I could mess with tmpfiles-clean config file but I am just
> not interested in the service at all. What is the sure way method to
> disable it for good?
systemd-tmpfiles-clean does more that just removing stuff from /tmp. So
changing the config is the only way to go. Just
copy /usr/lib/tmpfiles.d/tmp.conf to /etc/tmpfiles.d/ and modify it as you
GPG fingerprints: DA92 034D B4A8 EC51 7EA6 20DF 9291 EE8A 043C B8C4
C0DF 20D0 C075 C3F1 E1BE 775A A7AE F6CB 164B 5A6D
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 836 bytes
Desc: not available
More information about the arch-general