Skip to main content

A jail.conf python library to help making administration software

Project description

jailconf_tools is a python package which includes a lot of tools to use with the new jail format on a freebsd host.

Howto

This is an example of howto use jailconf parser :

#!/usr/bin/env python
import sys
from jailconf_tools.parser import get_jails_config


def main():
    """Main function"""

    try:
        print(get_jails_config())
    except:
        return 1
    else:
        return 0

if __name__ == "__main__":
    sys.exit(main())

This peace of code returns a python dict which contains all jails definition.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for jailconf_tools, version 1.0.1
Filename, size File type Python version Upload date Hashes
Filename, size jailconf_tools-1.0.1.macosx-10.10-intel.tar.gz (5.2 kB) File type Dumb Binary Python version any Upload date Hashes View
Filename, size jailconf_tools-1.0.1.tar.gz (3.3 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page