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

18 lines
531 B
Desktop File

[Unit]
Description=Aminda's deduplication service
[Service]
Type=oneshot
TimeoutStartSec=infinity
# 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