a >h@sVddlmZmZmZmZmZGdddeZGdddeeZGdddeeeZdS) )Plugin RedHatPlugin DebianPlugin UbuntuPlugin PluginOptc@s0eZdZdZdZdZeddddgZdd Zd S) ServiceszSystem servicesZservices)systemZboot servicestatusFz&collect status of all running services)defaultZdesccCs:|gd|dr"|d|d|ddS)N)z /etc/inittabz /etc/rc.dz /etc/rc.localr zservice --status-allz/sbin/runlevelz/var/lock/subsys) add_copy_specZ get_optionadd_cmd_outputZadd_dir_listingselfr?/usr/lib/python3.9/site-packages/sos/report/plugins/services.pysetups    zServices.setupN) __name__ __module__ __qualname__Z short_descZ plugin_nameZprofilesrZ option_listrrrrrr srcseZdZfddZZS)RedHatServicescst|jdddddS)Nzchkconfig --listZ chkconfig)Z root_symlinktags)superrr r  __class__rrr(s zRedHatServices.setuprrrr __classcell__rrrrr&srcseZdZfddZZS)DebianServicescst|ddS)Nz /etc/rc*.d)rrr r rrrr0s zDebianServices.setuprrrrrr.srN) Zsos.report.pluginsrrrrrrrrrrrr s