shell-things/etc/systemd/system/aminda-duperemove.service
Aminda Suomalainen 1af8de8186
systemd/aminda-duperemove.service: add /usr/local/bin
It's mostly filled with my scripts repo and has duplicates since the symlinks turn into duplicate files instead of staying as symlinks. Not that I expect it to affect much.
2024-05-20 21:11:32 +03:00

17 lines
517 B
Desktop File

[Unit]
Description=Aminda's deduplication service
[Service]
Type=oneshot
TimeoutStartSec=infinity
ExecStart=-/usr/sbin/duperemove -rdhq --hashfile=/root/home.hash /home
ExecStart=-/usr/sbin/duperemove -rdhq --hashfile=/root/usr-local-bin.hash /usr/local/bin
ExecStart=-/usr/sbin/duperemove -rdhq --hashfile=/root/flatpak.hash /var/lib/flatpak
ExecStart=-/usr/sbin/duperemove -rdhq --hashfile=/root/snap.hash /var/lib/snapd
User=root
StandardOutput=journal
StandardError=journal
[Install]
WantedBy=multi-user.target