Services
fm services¶
Services commands.
Usage:
Options:
--help: Show this message and exit.
Commands:
start: Starts global services.stop: Stops global services.restart: Restarts global services.shell: Open shell for the specificed global service.
fm services start¶
Starts global services.
Usage:
Arguments:
SERVICE_NAME: Name of the service. [required]
Examples¶
Start global-db only¶
Starts only the global-db service used to store bench databases.
Start all global services¶
Starts all global services managed by FM (nginx-proxy, global-db, etc.).
fm services stop¶
Stops global services.
Usage:
Arguments:
SERVICE_NAME: Name of the service. [required]
Examples¶
Stop global-db¶
Stops the global-db service. Use when maintaining or backing up the global database.
Stop all services¶
Stops all global services managed by FM.
fm services restart¶
Restarts global services.
Usage:
Arguments:
SERVICE_NAME: Name of the service. [required]
Examples¶
Restart global-db only¶
Restarts the global-db service only.
Restart all global services¶
Restarts all managed global services.
fm services shell¶
Open shell for the specificed global service.
Usage:
Arguments:
SERVICE_NAME: Name of the service. [required]
Options:
--user: Connect as this user.
Examples¶
Shell global-db¶
Opens a shell into the global-db service for maintenance tasks.
Shell global-nginx-proxy¶
Opens a shell into the nginx proxy container used for routing bench domains.