Skip to content

provides facts of services in json format, works with all init systems

Notifications You must be signed in to change notification settings

domcar/services_facts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 

Repository files navigation

services_facts

provides facts of services in json format, it works with all init systems

usage: sudo python services.py

OUTPUT:

"init": {
    "accounts-daemon_service": "enabled",
    "acpid_service": "enabled",
    "apache-htcacheclean_service": "disabled",
    "apache2_service": "enabled",
    "apport-forward@_service": "static",
    "apport_service": "enabled",
    "apt-daily_service": "static",
    "atd_service": "enabled",
     .
     .
     .
"status": {
    "accounts-daemon_service": "active",
    "acpid_service": "active",
    "apache-htcacheclean_service": "active",
    "apache2_service": "active",
    "apparmor_service": "active",
    "apport_service": "active",
    "apt-daily_service": "inactive",
    "atd_service": "active",
     .
     .
     .

About

provides facts of services in json format, works with all init systems

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages