10 lines
430 B
Plaintext

[Service]
ExecStart=
# /home is actually in /var/home so the latter command should catch it
#ExecStart=-duperemove -rdhq --hashfile=/root/home.hash /home
ExecStart=-duperemove -rdhq --hashfile=/root/var.hash /var
ExecStartPre=
# Same filesystem although different subvolume, so this should work?
ExecStartPre=-btrfs balance start -dusage=25 -dlimit=10 -musage=25 -mlimit=10 /var
ExecStartPost=-btrfs balance start -dusage=50 /var