mirror of
https://gitea.blesmrt.net/mikaela/shell-things.git
synced 2025-06-14 19:17:21 +02:00
{aminda-duperemove.service,monthly-btrfs-balance.service}.d: correct fedora-atomic.conf based on fstab reading
This commit is contained in:
parent
3b9ff30bf0
commit
9a2c019db9
@ -1,9 +0,0 @@
|
|||||||
[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,9 @@
|
|||||||
|
[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
|
@ -1,5 +0,0 @@
|
|||||||
[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
|
|
@ -0,0 +1,9 @@
|
|||||||
|
[Service]
|
||||||
|
# The overlayfs is not BTRFS and errors out, so the actual partition needs
|
||||||
|
# to be specified.
|
||||||
|
ExecStartPre=
|
||||||
|
ExecStartPre=-btrfs balance cancel /var
|
||||||
|
#ExecStartPre=-btrfs balance cancel /var/home
|
||||||
|
ExecStart=
|
||||||
|
ExecStart=btrfs balance start --full-balance /var
|
||||||
|
#ExecStart=btrfs balance start --full-balance /var/home
|
Loading…
x
Reference in New Issue
Block a user