diff options
Diffstat (limited to 'system/postgresql/rc.postgresql.new')
-rw-r--r-- | system/postgresql/rc.postgresql.new | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/system/postgresql/rc.postgresql.new b/system/postgresql/rc.postgresql.new index db5c40ca05..243ba527bb 100644 --- a/system/postgresql/rc.postgresql.new +++ b/system/postgresql/rc.postgresql.new @@ -5,7 +5,7 @@ # $Revision$ # $Date$ # -# Copyright 2007-2016 Adis Nezirovic <adis_at_linux.org.ba> +# Copyright 2007-2018 Adis Nezirovic <adis_at_linux.org.ba> # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -30,7 +30,7 @@ # Since version 9.3 this startup script can run multiple PostgreSQL # versions on different ports and with different data dirs. # -# e.g. PG_VERSION=9.6 PG_PORT=6432 /etc/rc.d/rc.@PRGNAM@ start +# e.g. PG_VERSION=10.2 PG_PORT=6432 /etc/rc.d/rc.@PRGNAM@ start PG_VERSION=${PG_VERSION:-@PG_VERSION@} PG_PORT=${PG_PORT:-@PG_PORT@} @@ -43,7 +43,7 @@ PIDFILE=$DATADIR/postmaster.pid # oom-killer score # -# http://www.postgresql.org/docs/9.6/static/kernel-resources.html#LINUX-MEMORY-OVERCOMMIT +# http://www.postgresql.org/docs/10.2/static/kernel-resources.html#LINUX-MEMORY-OVERCOMMIT PG_OOM_ADJUST_FILE=/proc/self/oom_score_adj PG_MASTER_OOM_SCORE_ADJ=-1000 PG_CHILD_OOM_SCORE_ADJ=0 @@ -80,7 +80,7 @@ case "$1" in if [ ! -e $DATADIR/PG_VERSION ]; then echo "You should initialize the PostgreSQL database at location $DATADIR" - echo "e.g. su postgres -c \"initdb -D $DATADIR --locale=en_US.UTF-8 -A md5 -W --data-checksums\"" + echo "e.g. su postgres -c \"initdb -D $DATADIR --locale=en_US.UTF-8 -A md5 -W\"" exit 6 fi |