I have two different PostgreSQL 10 servers running on the same system (using different ports) on a CentOS 6/7 system. Can someone tell me how to name these PostgreSQL services differently? Like when I run a ps
on the system, it should show both the services running with different names. Right now it shows both the service names as postgres
. Can someone tell me how to rename the postgres service on Linux?
I know how to do that on Windows pg_ctl.exe register -N Postgres_1
(The -N argument lets us choose the name of the Postgres service) So basically when we register the service, we can give it a custom name on Windows... but can someone tell me how to do the same on Linux?
Thanks in advance.