From f5ca4a362ec790595cdd09c980508d4543971d5d Mon Sep 17 00:00:00 2001 From: Adam Caprez <acaprez2@unl.edu> Date: Mon, 22 Jun 2020 18:45:33 +0000 Subject: [PATCH] Fix formatting weirdness due to different Hugo versions. --- content/applications/app_specific/running_postgres.md | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/content/applications/app_specific/running_postgres.md b/content/applications/app_specific/running_postgres.md index bd2747de..77fd824e 100644 --- a/content/applications/app_specific/running_postgres.md +++ b/content/applications/app_specific/running_postgres.md @@ -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 >}} -- GitLab