chiark / gitweb /
tmpwatch: fix typo and remove [Install]
authorKay Sievers <kay.sievers@vrfy.org>
Tue, 21 Sep 2010 14:22:10 +0000 (16:22 +0200)
committerKay Sievers <kay.sievers@vrfy.org>
Tue, 21 Sep 2010 14:22:10 +0000 (16:22 +0200)
units/tmpwatch.service
units/tmpwatch.timer

index 55f8f0ac03e1501c5aea2cc3ac332a8172eda8a1..e69a33c8a11fc969bf143cf6ba5091d01c42a2c2 100644 (file)
@@ -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
 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
index 222e3d238bbc7c63d72afaea2eb82798419572c7..7f69d5eb959496909d3493c9b38701316ead6e65 100644 (file)
@@ -7,7 +7,7 @@
 
 [Unit]
 Description=Daily Cleanup of Temporary Directories
 
 [Unit]
 Description=Daily Cleanup of Temporary Directories
-DefaultDependency=no
+DefaultDependencies=no
 
 [Timer]
 OnBootSec=1d
 
 [Timer]
 OnBootSec=1d