terminal-tasks-open / tasks /contract-version-restore-comments /environment /app /scripts /postgres.sh
Download tasks/contract-version-restore-comments/environment/app/scripts/postgres.sh from VettoAI/terminal-tasks-open: direct link, hf CLI and curl.
- Browser
- Download file 137 Bytes
-
https://huggingface.co/datasets/VettoAI/terminal-tasks-open/resolve/main/tasks/contract-version-restore-comments/environment/app/scripts/postgres.sh
- Command line
-
hf download hf://datasets/VettoAI/terminal-tasks-open/tasks/contract-version-restore-comments/environment/app/scripts/postgres.sh
-
curl -L -o postgres.sh https://huggingface.co/datasets/VettoAI/terminal-tasks-open/resolve/main/tasks/contract-version-restore-comments/environment/app/scripts/postgres.sh
137 Bytes
| set -e | |
| if ! pg_isready -h 127.0.0.1 -p 5432 -U contracts -d contracts >/dev/null 2>&1; then | |
| pg_ctlcluster 16 main start | |
| fi | |