eudev/units/tmpwatch.service

20 lines
710 B
SYSTEMD
Raw Normal View History

2010-09-21 08:38:32 +07:00
# This file is part of systemd.
#
# systemd is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
[Unit]
Description=Cleanup of Temporary Directories
DefaultDependencies=no
Wants=local-fs.target
2010-09-28 08:44:22 +07:00
After=systemd-readahead-collect.service systemd-readahead-replay.service local-fs.target
2010-09-21 08:38:32 +07:00
Before=poweroff.service reboot.service halt.service killall.service
[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
2010-09-29 03:08:17 +07:00
IOSchedulingClass=idle