spark/roles/base/files/paccache.timer
Pig Monkey e6c517b441 use a systemd timer for paccache cleanup
Since cron is not installed by default, we shouldn't depend on it. Users
should have the choice of running a cron-free system without any
decrease in functionality.

paccache service and timer units stolen from:
https://github.com/kylemanna/systemd-utils
2016-01-19 22:31:47 -08:00

10 lines
140 B
SYSTEMD

[Unit]
Description=Clean-up Old Pacman Files
[Timer]
OnCalendar=daily
AccuracySec=1h
Persistent=True
[Install]
WantedBy=multi-user.target