]> git.ipfire.org Git - thirdparty/dracut.git/commit
99memstrack: Only start tracking service when rd.memdebug=4|5
authorKairui Song <kasong@redhat.com>
Wed, 10 Jun 2020 10:28:27 +0000 (18:28 +0800)
committerDaniel Molkentin <daniel@molkentin.de>
Tue, 4 Aug 2020 10:53:14 +0000 (12:53 +0200)
commit5c025a7d2a53cd63c7a94269aec2887e016ba2d6
treebadd76461826bb120b9776dd98e1a8a955226739
parent07417b7fc5cb261187519c916e4735189f20f4c6
99memstrack: Only start tracking service when rd.memdebug=4|5

Currently systemd will always start the tracking service, it will
exit early if rd.memdebug<=3 so there is no issue here, but it
leave a message of: "Started Memstrack Anylazing Service.".
Better to avoid such message if it's not used.

Signed-off-by: Kairui Song <kasong@redhat.com>
modules.d/99memstrack/memstrack.service