]> www.infradead.org Git - users/hch/xfsprogs.git/commitdiff
debian: enable xfs_scrub_all systemd timer services by default
authorDarrick J. Wong <djwong@kernel.org>
Wed, 3 Jul 2024 21:21:18 +0000 (14:21 -0700)
committerDarrick J. Wong <djwong@kernel.org>
Tue, 9 Jul 2024 22:37:00 +0000 (15:37 -0700)
Now that we're finished building online fsck, enable the periodic
background scrub service by default.  This involves the postinst script
starting the resource management slice and the timer.

No other sub-services need to be enabled or unmasked explicitly.  They
also shouldn't be started or restarted because that might interrupt
background operation unnecessarily.

Signed-off-by: Darrick J. Wong <djwong@kernel.org>
debian/rules

index 69a79fc6740526b8130dbe35bfb269091b1e742b..c3fbcd26232ef586fb0537fdc01ac1570c2c7ad6 100755 (executable)
@@ -114,7 +114,7 @@ binary-arch: checkroot built
        dh_compress
        dh_fixperms
        dh_makeshlibs
-       dh_installsystemd -p xfsprogs --no-enable --no-start --no-restart-after-upgrade --no-stop-on-upgrade
+       dh_installsystemd -p xfsprogs --no-restart-after-upgrade --no-stop-on-upgrade system-xfs_scrub.slice xfs_scrub_all.timer
        dh_installdeb
        dh_shlibdeps
        dh_gencontrol