aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorJake Hunsaker <jhunsake@redhat.com>2020-02-12 13:09:37 -0500
committerBryan Quigley <bryan.quigley@canonical.com>2020-02-12 15:10:32 -0800
commit2addff6c4f0bebfcaa515240c84ff7f37377fca6 (patch)
treeee648fe8b9545a4c7cf31f60e6dac1b9ca5202a9 /Makefile
parent43d156200ba679ec72f2a591d0b3c39041a7869b (diff)
downloadsos-2addff6c4f0bebfcaa515240c84ff7f37377fca6.tar.gz
[InitSystem|Plugin] Add method to get service names matching regex
Adds a new `get_service_names()` method to the `InitSystem` class which is then exposed to plugins via `Plugin.get_service_names()` to allow plugins to fetch a list of service names discovered on the system that match a provided regex. Included in this is a fix to avoid the header line from the discovery command being entered in the dict of known services, so that we avoid inadvertant regex matches. Resolves: #1943 Signed-off-by: Jake Hunsaker <jhunsake@redhat.com> Signed-off-by: Bryan Quigley <bryan.quigley@canonical.com>
Diffstat (limited to 'Makefile')
0 files changed, 0 insertions, 0 deletions