API: aj

aj.platform = 'debian'

Current platform

aj.platform_string = 'Ubuntu 16.04.2 LTS'

Human-friendly platform name

aj.platform_unmapped = 'ubuntu'

Current platform without “Ubuntu is Debian”-like mapping

aj.version = '2.1.21'

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