rebuildmainwebconf — Command Reference
Rebuild selected main web-server settings and reload after successful rebuilds.
Rebuild selected main web-server settings and reload after successful rebuilds.
Requirements
Run as root on the Eenos server. Choose one configured stack or one supported server. Preserve custom configuration and plan for service reload effects.
Usage
The following example uses the operation described below; replace example identities and paths before use:
/usr/local/eenos/scripts/rebuildmainwebconf --configuredArguments and options
| Argument / option | Usage and meaning |
|---|---|
-n, --nginx | Flag. Rebuild Nginx default settings |
-a, --httpd | Flag. Rebuild Apache HTTPD default settings |
-o, --ols | Flag. Rebuild OpenLiteSpeed main/default settings |
-v, --varnish | Flag. Rebuild Varnish main settings |
-c, --configured | Flag. Rebuild all components of the currently configured webserver mode |
-h, --help displays this parser's help. Selectors in the same mutually exclusive group cannot be combined. The installed version remains authoritative for available options.
Operational effects
Rewrites main/default configuration. For --configured, all selected component rebuilds must succeed before the reload loop begins. A later reload failure is not a rollback of earlier writes/reloads.
Verify the result
Inspect each selected component's rebuild/reload result and test web traffic.
Check operation output and the relevant service/application state. Several legacy wrappers exit successfully after logging a handler failure, so a zero shell exit status alone is not proof of completion.
Back to Account & Server Maintenance · All command-line tools