]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commit
xfs_scrub_all: encapsulate all the systemctl code in an object
authorDarrick J. Wong <djwong@kernel.org>
Mon, 29 Jul 2024 23:23:17 +0000 (16:23 -0700)
committerDarrick J. Wong <djwong@kernel.org>
Tue, 30 Jul 2024 00:01:10 +0000 (17:01 -0700)
commitea2713d43b13ca1e5c9e60617e5252d16486c125
tree758b75bcd357d90d9fcfc6fc7908a4c6d9fedcbc
parenta290edcfa0a3916951336d39725664af71768d6b
xfs_scrub_all: encapsulate all the systemctl code in an object

Move all the systemd service handling code to an object so that we can
contain all the insanity^Wdetails in a single place.  This also makes
the killfuncs handling similar to starting background processes.

Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
scrub/xfs_scrub_all.in