diff --git a/units/tmpwatch.service b/units/tmpwatch.service index 55f8f0ac03e1501c5aea2cc3ac332a8172eda8a1..e69a33c8a11fc969bf143cf6ba5091d01c42a2c2 100644 --- a/units/tmpwatch.service +++ b/units/tmpwatch.service @@ -16,6 +16,3 @@ Before=poweroff.service reboot.service halt.service killall.service Type=oneshot ExecStart=/usr/sbin/tmpwatch -umc -x /tmp/.X11-unix -x /tmp/.ICE-unix 10d /tmp ExecStart=/usr/sbin/tmpwatch -umc 30d /var/tmp - -[Install] -WantedBy=shutdown.target diff --git a/units/tmpwatch.timer b/units/tmpwatch.timer index 222e3d238bbc7c63d72afaea2eb82798419572c7..7f69d5eb959496909d3493c9b38701316ead6e65 100644 --- a/units/tmpwatch.timer +++ b/units/tmpwatch.timer @@ -7,7 +7,7 @@ [Unit] Description=Daily Cleanup of Temporary Directories -DefaultDependency=no +DefaultDependencies=no [Timer] OnBootSec=1d