Primary E4S CLI
The e4s command is the main infrastructure operations
interface installed with E4S Infrastructure.
| Command | What it does | Notes |
|---|---|---|
e4s help | Display the E4S command reference. | |
e4s version | Display application, Python and database version information. | |
e4s status | Show Web, Worker and Agent API systemd state. | |
e4s health | Query Web and Agent API health endpoints. | |
e4s doctor | Run combined service, health, port, Nginx, Redis, Feature Guard and disk diagnostics. | |
e4s routes [filter] | Read the application OpenAPI document and list API routes. | |
e4s ports | Display important listening ports and processes. | |
e4s restart web | Restart only the Web service. | |
e4s restart worker | Restart only the Worker. | |
e4s restart agent | Restart only the Agent API. | |
e4s restart all | Restart all primary E4S runtime services. | |
e4s start [web|worker|agent|all] | Start selected E4S services. | |
e4s stop [web|worker|agent|all] | Stop selected E4S services. | |
e4s logs web [lines] | Show Web service journal output. | |
e4s logs worker [lines] | Show Worker service journal output. | |
e4s logs agent [lines] | Show Agent API journal output. | |
e4s backup | Run the installed E4S backup workflow. | |
e4s db shell | Open the PostgreSQL shell for the E4S database. | |
e4s db size | Display database size information. | |
e4s db activity | Display current PostgreSQL activity. | |
e4s db vacuum-analyze | Run PostgreSQL VACUUM ANALYZE maintenance. | |
e4s redis status | Display Redis service status. | |
e4s redis info | Display Redis runtime information. | |
e4s redis cli | Open redis-cli. | |
e4s nginx test | Run nginx configuration validation. | |
e4s nginx reload | Reload Nginx after a valid configuration change. | |
e4s nginx dump | Display effective Nginx configuration. | |
e4s feature-guard verify | Verify protected application files against the accepted baseline. | |
e4s feature-guard baseline | Review changed protected files before accepting a new baseline. | Use only after approved source changes. |
e4s release-check | Run release/runtime consistency checks. | |
e4s cleanup | Run installed platform cleanup routines. | |
e4s license status | Display current license enforcement state. | |
e4s license entitlement | Display the current signed feature and limit entitlement. | |
e4s license refresh | Request a fresh entitlement from the License Authority. | |
e4s license fingerprint | Display the machine/license fingerprint. | |
e4s license feature NAME | Query one named license feature. | |
e4s license limit NAME | Query one named license limit. | |
e4s app-cli <args...> | Pass arguments to the application CLI. | |
e4s tools list | List installed E4S operational helper tools. | |
e4s tools run NAME | Execute a named E4S helper tool. | |
e4s cert-check | Run the installed certificate checker or Certbot certificate listing. | |
e4s agent-health | Query Agent API health and recent agent traffic. |
License Client commands
| Command | Purpose |
|---|---|
e4s-license-client status | Current license and enforcement status. |
e4s-license-client entitlement | Full local signed entitlement. |
e4s-license-client refresh | Refresh signed policy from the authority. |
e4s-license-client feature NAME | Check one feature switch. |
e4s-license-client limit NAME | Read one resource limit. |
Systemd equivalents
Inspect services
systemctl status e4s-web.service
systemctl status e4s-agent-api.service
systemctl status e4s-worker.service
systemctl status e4s-license-client.service
Read logs
journalctl -u e4s-web.service -n 200 --no-pager
journalctl -u e4s-agent-api.service -n 200 --no-pager
journalctl -u e4s-worker.service -n 200 --no-pager
Build and distribution operator commands
Operator-only tooling
These commands are intended for the E4S build/distribution environment, not normal customer installations.
| Command | Purpose |
|---|---|
e4s distribution status | Display local platform, Update Authority and Layer1 distribution status. |
e4s distribution editions | Display configured public edition data. |
e4s distribution build VERSION beta | Build Universal installer output. |
e4s distribution publish VERSION beta | Upload, sign and publish prepared Universal installers. |
e4s distribution ship VERSION beta | Build and publish the complete release flow supported by the distribution tooling. |