shell-things/etc/systemd/system/aminda-duperemove.service

18 lines
531 B
SYSTEMD
Raw Normal View History

[Unit]
Description=Aminda's deduplication service
[Service]
Type=oneshot
TimeoutStartSec=infinity
2024-10-04 12:21:21 +02:00
# Contained in `systemd-path search-binaries-default`
ExecStart=-duperemove -rdhq --hashfile=/root/home.hash /home
ExecStart=-duperemove -rdhq --hashfile=/root/usr-local-bin.hash /usr/local/bin
ExecStart=-duperemove -rdhq --hashfile=/root/flatpak.hash /var/lib/flatpak
ExecStart=-duperemove -rdhq --hashfile=/root/snap.hash /var/lib/snapd
User=root
StandardOutput=journal
StandardError=journal
[Install]
WantedBy=multi-user.target