systemctl: list-dependencies: support --type= and --state=

Closes #25975
This commit is contained in:
Mike Yuan
2023-01-16 19:46:52 +08:00
parent 8e481bd292
commit 3729976944
5 changed files with 69 additions and 9 deletions
+3
View File
@@ -99,6 +99,9 @@ systemctl list-jobs --after
systemctl list-jobs --before
systemctl list-jobs --after --before
systemctl list-jobs "*"
systemctl list-dependencies sysinit.target --type=socket,mount
systemctl list-dependencies multi-user.target --state=active
systemctl list-dependencies sysinit.target --state=mounted --all
# is-* verbs
# Should return 4 for a missing unit file