Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
H
HCC docs
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Monitor
Service Desk
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Holland Computing Center
HCC docs
Merge requests
!225
Fix formatting weirdness due to different Hugo versions.
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Fix formatting weirdness due to different Hugo versions.
typos
into
master
Overview
0
Commits
1
Pipelines
0
Changes
1
Merged
Adam Caprez
requested to merge
typos
into
master
4 years ago
Overview
0
Commits
1
Pipelines
0
Changes
1
Expand
0
0
Merge request reports
Compare
master
master (base)
and
latest version
latest version
f5ca4a36
1 commit,
4 years ago
1 file
+
4
−
3
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
content/applications/app_specific/running_postgres.md
+
4
−
3
Options
@@ -57,11 +57,12 @@ export POSTGRES_USER=$USER
export POSTGRES_DB=mydb
export PGDATA=$POSTGRES_HOME/db/data
export POSTGRES_HOST_AUTH_METHOD=md5
export POSTGRES_INITDB_ARGS="
\-\-
data-checksums"
export POSTGRES_PORT=$(shuf -i 2000-65000 -n 1)
export POSTGRES_INITDB_ARGS="--data-checksums"
export POSTGRES_PORT=$(shuf -i 2000-65000 -n 1)
echo "Postgres server running on $(hostname) on port $POSTGRES_PORT"
echo "This job started at $(date +%Y-%m-%dT%T)"
echo "This job will end at $(squeue
\-\
-
noheader -j $SLURM_JOBID -o %e) (in $(squeue
\-\
-
noheader -j $SLURM_JOBID -o %L))"
echo "This job will end at $(squeue
-
-noheader -j $SLURM_JOBID -o %e) (in $(squeue
-
-noheader -j $SLURM_JOBID -o %L))"
module load singularity
exec singularity run -B $POSTGRES_HOME/db:/var/lib/postgresql -B $POSTGRES_HOME/run:/var/run/postgresql docker://postgres:11 -c "port=$POSTGRES_PORT"
{{
<
/
highlight
>
}}
Loading