[enh] Add some advice about a strange locale problem with postgresql

This commit is contained in:
ljf (zamentur) 2019-09-26 19:25:06 +02:00 committed by GitHub
parent c7c4d93968
commit c59c3fa438
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -276,7 +276,7 @@ ynh_psql_test_if_first_run() {
local pg_hba=/etc/postgresql/9.6/main/pg_hba.conf local pg_hba=/etc/postgresql/9.6/main/pg_hba.conf
local logfile=/var/log/postgresql/postgresql-9.6-main.log local logfile=/var/log/postgresql/postgresql-9.6-main.log
else else
ynh_die "postgresql shoud be 9.4 or 9.6" ynh_die "postgresql shoud be 9.4 or 9.6 or it could be a problem of locale see https://serverfault.com/questions/426989/postgresql-etc-postgresql-doesnt-exist"
fi fi
ynh_systemd_action --service_name=postgresql --action=start ynh_systemd_action --service_name=postgresql --action=start