API: aj.core

aj.core.restart()[source]
aj.core.run(config=None, plugin_providers=None, product_name='ajenti', dev_mode=False, debug_mode=False, autologin=False)[source]

A global entry point for Ajenti.

Parameters:
  • config (aj.config.BaseConfig) – config file implementation instance to use
  • plugin_providers (list(aj.plugins.PluginProvider)) – list of plugin providers to load plugins from
  • product_name (str) – a product name to use
  • dev_mode (bool) – enables dev mode (automatic resource recompilation)
  • debug_mode (bool) – enables debug mode (verbose and extra logging)
  • autologin (bool) – disables authentication and logs everyone in as the user running the panel. This is EXTREMELY INSECURE.

Comments

comments powered by Disqus