Systemd Usage Guide For Administrators#
In Carbonio, services are managed using systemd, which replaces
the old zmcontrol command. In this page we present some of the
most common systemctl commands, the interface to systemd
Verify the status of all services
# systemctl list-units "carbonio*"
List of all Carbonio unit files
# systemctl list-unit-files "carbonio*"
To start all the main Carbonio services on a node
# systemctl start carbonio.target
This command is similar to the discontinued zmcontrol start
command: it brings up all Carbonio Components on that Node (like
Directory Server, Proxy, MTA, and so on.) in the correct order.
To stop all the main Carbonio services on a node
# systemctl stop carbonio.target
This command is similar to the discontinued zmcontrol stop
command: it brings down all core Carbonio Components on that Node in
the correct order.
Enable Target at Boot
# systemctl enable carbonio-directory-server.target
Disable a Target (prevents autostart)
# systemctl disable carbonio-appserver.target
Monitor a Target or Service
# systemctl status carbonio-proxy.target
# journalctl -u carbonio-nginx.service
Inspect Dependencies
# systemctl list-dependencies carbonio-mta.target
# systemctl show carbonio-mta.target
Manage other services
Some additional services (like preview generation, real-time documentation editing, chats, etc.) are already systemd-native and can be started or stopped individually, like this:
# systemctl start carbonio-preview.service
# systemctl stop carbonio-preview.service
# systemctl start carbonio-docs-editor.service
# systemctl stop carbonio-docs-editor.service
# systemctl start carbonio-ws-collaboration.service
# systemctl stop carbonio-ws-collaboration.service
..