API: aj

aj.config = <module 'aj.config' from '/home/docs/checkouts/readthedocs.org/user_builds/ajenti2/checkouts/latest/ajenti-core/aj/config.py'>

Configuration dict

aj.platform = 'debian'

Current platform

aj.platform_string = 'Ubuntu 18.04.5 LTS'

Human-friendly platform name

aj.platform_unmapped = 'ubuntu'

Current platform without “Ubuntu is Debian”-like mapping

aj.version = '2.1.43'

Ajenti version

aj.server = None

Web server

aj.debug = False

Debug mode

aj.init()[source]
aj.exit()[source]
aj.restart()[source]

Comments

comments powered by Disqus