From: Darrick J. Wong Date: Thu, 28 Mar 2019 23:05:01 +0000 (-0500) Subject: xfs_scrub_all.timer: activate after most of the system is up X-Git-Tag: v5.0.0-rc1~43 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5e7a0439ca349225b170e1282cc5a3f4950a7fa3;p=thirdparty%2Fxfsprogs-dev.git xfs_scrub_all.timer: activate after most of the system is up We really don't want the xfs_scrub_all timer triggering while the system is booting up because not all the mounts will have finished, networking might not be up for reporting, and slowing down bootup annoys people. Therefore, delay the xfs_scrub_all service's activation until after the system has started all the big pieces it's going to start. Signed-off-by: Darrick J. Wong Reviewed-by: Eric Sandeen Signed-off-by: Eric Sandeen --- diff --git a/scrub/xfs_scrub_all.service.in b/scrub/xfs_scrub_all.service.in index 66f82fc74..b1b80da40 100644 --- a/scrub/xfs_scrub_all.service.in +++ b/scrub/xfs_scrub_all.service.in @@ -2,6 +2,7 @@ Description=Online XFS Metadata Check for All Filesystems ConditionACPower=true Documentation=man:xfs_scrub_all(8) +After=paths.target multi-user.target network.target network-online.target systemd-networkd.service NetworkManager.service connman.service [Service] Type=oneshot