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.

Source Distribution

jailconf_tools-1.0.1.tar.gz (3.3 kB view hashes)

Uploaded Source

Built Distribution

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page