mirror of
https://gitea.blesmrt.net/mikaela/shell-things.git
synced 2025-06-14 11:07:20 +02:00
systemd/{duperemove,btrfs-balance}: add drop-ins for Fedora Atomic/Kinoite
This commit is contained in:
parent
4c7d5b5151
commit
0a8c9042f6
@ -0,0 +1,9 @@
|
||||
[Service]
|
||||
# This unit will make it duperemove Fedora Kinoite's home
|
||||
ExecStart=
|
||||
ExecStart=-duperemove -rdhq --hashfile=/root/var-home.hash /var/home
|
||||
[Service]
|
||||
# https://superuser.com/a/1290109
|
||||
# Contained in `systemd-path search-binaries-default`
|
||||
ExecStartPre=-btrfs balance start -dusage=25 -dlimit=10 -musage=25 -mlimit=10 /var/home
|
||||
ExecStartPost=-btrfs balance start -dusage=50 /var/home
|
@ -0,0 +1,5 @@
|
||||
[Service]
|
||||
# The overlayfs is not BTRFS and errors out, so the actual partition needs
|
||||
# to be specified.
|
||||
ExecStartPre=-btrfs balance cancel /var/home
|
||||
ExecStart=btrfs balance start --full-balance /var/home
|
Loading…
x
Reference in New Issue
Block a user