Re: How to disable systemd-tmpfiles-clean.timer

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On Thu, May 8, 2014 at 3:43 PM, Olivier Langlois <
olivier@xxxxxxxxxxxxxxxxxxx> 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?
>
> thank you,
>
>
>
Try:

systemctl mask systemd-tmpfiles-clean.timer

Should definitely work.

-- 
Savyasachee Jha

*"Aerodynamics is for people whodon't know how to build engines."*


[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux