[systemd-commits] units/tmpwatch.service units/tmpwatch.timer

Kay Sievers kay at kemper.freedesktop.org
Tue Sep 21 07:21:47 PDT 2010


 units/tmpwatch.service |    3 ---
 units/tmpwatch.timer   |    2 +-
 2 files changed, 1 insertion(+), 4 deletions(-)

New commits:
commit c2a4755857ffdcc3b5ed8655493ecb9af82ba2f7
Author: Kay Sievers <kay.sievers at vrfy.org>
Date:   Tue Sep 21 16:22:10 2010 +0200

    tmpwatch: fix typo and remove [Install]

diff --git a/units/tmpwatch.service b/units/tmpwatch.service
index 55f8f0a..e69a33c 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 222e3d2..7f69d5e 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


More information about the systemd-commits mailing list