feat(btrfs): update btrfs scrub service and timer on app vm

This commit is contained in:
2026-05-06 08:15:53 +09:00
parent 6fcedd9162
commit ba8b312bf2
3 changed files with 40 additions and 0 deletions
@@ -0,0 +1,10 @@
[Unit]
Description=BTRFS auto scrub
ConditionPathIsMountPoint={{ node['home_path'] }}/data
RequiresMountsFor={{ node['home_path'] }}/data
[Service]
Type=oneshot
ExecStart=/usr/bin/btrfs scrub start -Bd {{ node['home_path'] }}/data
Nice=19
IOSchedulingClass=idle