summaryrefslogtreecommitdiff
path: root/units
diff options
context:
space:
mode:
authorKay Sievers <kay.sievers@vrfy.org>2010-09-21 16:22:10 +0200
committerKay Sievers <kay.sievers@vrfy.org>2010-09-21 16:22:10 +0200
commitc2a4755857ffdcc3b5ed8655493ecb9af82ba2f7 (patch)
tree80272fdf464cb77174512a9e6d08e7cdf1e2d7f0 /units
parent03aeb5bed092376b165b1f85e85f40e2abc35009 (diff)
tmpwatch: fix typo and remove [Install]
Diffstat (limited to 'units')
-rw-r--r--units/tmpwatch.service3
-rw-r--r--units/tmpwatch.timer2
2 files changed, 1 insertions, 4 deletions
diff --git a/units/tmpwatch.service b/units/tmpwatch.service
index 55f8f0ac03..e69a33c8a1 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 222e3d238b..7f69d5eb95 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