mirror of
https://github.com/ublue-os/bazzite.git
synced 2025-01-26 18:35:30 +00:00
19 lines
501 B
SYSTEMD
19 lines
501 B
SYSTEMD
[Unit]
|
|
# Usage: systemctl enable --now duperemove-weekly@$(systemd-escape <path>).timer
|
|
# Utilize %J specifier for duration set.
|
|
# One can hardlink/copy with 'weekly' part changed
|
|
# to set other duration.
|
|
Description=Deduplicate %I at calendar event (%J)
|
|
After=local-fs.target
|
|
Requires=local-fs.target
|
|
Conflicts=shutdown.target rescue.target rescue.service emergency.service
|
|
|
|
[Timer]
|
|
Unit=duperemove@%i.service
|
|
RandomizedDelaySec=30
|
|
Persistent=true
|
|
OnCalendar=%J
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|