The system file is always in the absolute path /etc/, not relative.
David Fetter
at ~/.pg_service.conf or the location
specified by the environment variable PGSERVICEFILE,
or it can be a system-wide file
- at etc/pg_service.conf or in the directory
+ at /etc/pg_service.conf or in the directory
specified by the environment variable
PGSYSCONFDIR. If service definitions with the same
name exist in the user and the system file, the user file takes