mirror of
https://github.com/ublue-os/bazzite.git
synced 2025-03-30 07:20:44 +00:00
23 lines
623 B
Desktop File
23 lines
623 B
Desktop File
[Unit]
|
|
Description=Recursive deduplication at %I
|
|
Documentation=man:duperemove(8)
|
|
Documentation=https://github.com/markfasheh/duperemove.git
|
|
Conflicts=shutdown.target rescue.target rescue.service emergency.service
|
|
After=local-fs.target
|
|
Before=shutdown.target
|
|
|
|
[Service]
|
|
Type=simple
|
|
Environment="HashDir=/var/lib/%p"
|
|
EnvironmentFile=-/etc/default/%p
|
|
MemoryHigh=1G
|
|
IOWeight=25
|
|
CPUWeight=25
|
|
Nice=18
|
|
IOSchedulingClass=idle
|
|
CPUSchedulingPolicy=idle
|
|
ExecStartPre=/bin/mkdir -p ${HashDir}
|
|
ExecStartPre=-/bin/df -h %I
|
|
ExecStart=/usr/sbin/duperemove --hashfile=${HashDir}/%i.hashfile -r -d -h $OPTIONS %I
|
|
ExecStopPost=-/bin/df -h %I
|