setuppgsql — Command Reference
Install PostgreSQL or reset its administrative password.
Install PostgreSQL or reset its administrative password.
Requirements
Run as root on the Eenos server. Supported package repository and database backups. A parsed major version does not establish that packages exist for the current OS.
Usage
The following example uses the operation described below; replace example identities and paths before use:
/usr/local/eenos/scripts/setuppgsql --install --version 18Arguments and options
| Argument / option | Usage and meaning |
|---|---|
-i, --install | Flag. Install PostgreSQL Server |
-rp, --resetpgpwd | Flag. Re-set PostgreSQL Password |
-v, --version | Value: version. Parser default: 18. The major version number of PGSQL server |
-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
Installation changes the database service. Password reset restarts PostgreSQL. The parser defaults installation to major version 18 and rejects an install version below 14 in the dispatcher.
Verify the result
Verify PostgreSQL health and panel/application authentication.
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.