X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=plc.d%2Fpostgresql;h=c3c37b11b931a276e9f3938bd38540f4bfd51656;hb=1fc3e4e55ffdf2204a39f2209395585b3c5ea1a6;hp=2e870338354928c14708c99716e82e263447810f;hpb=e42146067a41cd93ea01a822fdc7bcd976c64cb6;p=plcapi.git diff --git a/plc.d/postgresql b/plc.d/postgresql index 2e87033..c3c37b1 100755 --- a/plc.d/postgresql +++ b/plc.d/postgresql @@ -51,7 +51,9 @@ case "$1" in MESSAGE=$"Starting PostgreSQL server" dialog "$MESSAGE" - ######## sysconfig + ######## sysconfig +# xxx on f16, the systemd init script won't read /etc/sysconfig/pgsql/postgresql any more +# need to find out how to perform this configuration, if still needed # Set data directory and redirect startup output to /var/log/pgsql mkdir -p $(dirname $postgresql_sysconfig) touch $postgresql_sysconfig @@ -92,7 +94,7 @@ case "$1" in echo "timezone='UTC'" >> $postgresql_conf ######## /var/lib/pgsql/data/pg_hba.conf - # Disable access to all DBs from all hosts + # Disable access to MyPLC and drupal DBs from all hosts sed -i -e '/^\(host\|local\)/d' $pghba_conf # Enable passwordless localhost access