]> git.pld-linux.org Git - packages/postgresql.git/commitdiff
- one more fix in postgresql.init: initialize defaults before reading service postgresql-7_2_1-7
authorJakub Bogusz <qboosh@pld-linux.org>
Thu, 9 May 2002 22:24:19 +0000 (22:24 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
  config, so init script won't fail if config file is present but some variable
  is not set
- release 7

Changed files:
    postgresql.init -> 1.36
    postgresql.spec -> 1.163

postgresql.init
postgresql.spec

index 4b64d679e3e8136e9573f13d9363e55e24a8ee82..af4cdf3f715cd61050f2e194035ba41ac31b460c 100644 (file)
 # Get network config
 . /etc/sysconfig/network
 
+# Service config defaults
+ALLOW_TCP_CONNECTIONS=no
+ALLOW_USE_SSL=no
+POSTGRES_DATA_DIR=/var/lib/pgsql
+POSTGRES_LOG=/var/log/pgsql
+ENCODING=UNICODE
+
 # Get service config
 if [ -f /etc/sysconfig/postgresql ] ; then
         . /etc/sysconfig/postgresql
-else
-        ALLOW_TCP_CONNECTIONS=no
-       ALLOW_USE_SSL=no
-       POSTGRES_DATA_DIR=/var/lib/pgsql
-       POSTGRES_LOG=/var/log/pgsql
-       ENCODING=UNICODE
 fi
 
 # Check that networking is up.
index fac2c27a52a87920b83bf1f707eb955e5d193341..90942e791c9c8ad0bfcc5d05b8f4d8693ecd6f6b 100644 (file)
@@ -17,7 +17,7 @@ Summary(tr):  Veri Taban
 Summary(uk):   PostgreSQL - ÓÉÓÔÅÍÁ ËÅÒÕ×ÁÎÎÑ ÂÁÚÁÍÉ ÄÁÎÉÈ
 Name:          postgresql
 Version:       7.2.1
-Release:       6
+Release:       7
 License:       BSD
 Group:         Applications/Databases
 Source0:       ftp://ftp.postgresql.org/pub/source/v%{version}/%{name}-%{version}.tar.gz
This page took 0.245743 seconds and 4 git commands to generate.