Skip to content

Commands

Zcli is a simple command line interface built to manage Znuny's container.

Usage

Zcli can be used as following :

  • zcli COMMAND
  • zcli [COMMAND] --help | -h
  • zcli --version | -v

Global commands

The are many main commands which can be run :

Commands Description
zcli config apache Create virtualhosts
zcli config crons Create all crons
zcli config database Initialize the database
zcli config locales Set locales
zcli config modules Install application extensions
zcli config override Override given configurations
zcli config timezone Set the timezone
zcli config znuny Create the main configuration file of Znuny
zcli check modules Check Perl modules
zcli check config Check the built configuration in database
zcli download Download the znuny archive
zcli init all Initialize all features
zcli init frontend Initialize only the daemon and the webserver
zcli init background Initialize only crons
zcli job migration database Migrate an existing database from a working server
zcli job migration local Migrate an existing database from a dump file on the local filesystem
zcli run apache2 Run Apache2 web server
zcli run cron Run the crons of Znuny
zcli run daemon Run the daemon of Znuny
zcli run znuny Run Znuny
zcli upgrade Ensure Znuny is up to date
zcli user admin Create the admin user
zcli user permissions Set the user permissions
zcli user system Create the system user

Global options

  • --help ou -h: Show this help
  • --version ou -v: Show version number