diff options
author | Adis Nezirovic <adis_at_linux.org.ba> | 2018-02-11 14:53:38 +0000 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2018-02-17 07:42:53 +0700 |
commit | 0023a1b9b9ba676fdc86f42f30f603a4be918b40 (patch) | |
tree | 138cf0ebf427bdcd3fba9c5bfbc01f845d296fb9 /system/postgresql/rc.postgresql.new | |
parent | a5a29c0aabee4ba7105e6e133e35fea0455221ce (diff) | |
download | slackbuilds-0023a1b9b9ba676fdc86f42f30f603a4be918b40.tar.gz |
system/postgresql: Updated for version 10.2.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
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 |